Sign up ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.

What is the difference between (unix-system “which [name]) and which [name] commands.

For example when I use the (unix-system “which visual_elite) command I get the following result:


When I do the same on the command line using which visual_elite I get

enidl-atlas-schur <76> # which visual_elite
visual_elite is /home/vhdl/edatools/mentor/visualelite/VisualElite-4.2.1/visual_elite

Why do I have this difference?

share|improve this question
What is (unix-system)? Some kind of Lisp or Scheme function? More details needed! – Mikel Apr 7 '11 at 10:46

1 Answer 1

You have this difference because the PATH environment variable is different on the "command line" than it is in the lisp-like language you are using.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.