1 Feb
2012
1 Feb
'12
1:43 p.m.
On 1 February 2012 15:25, <mevenson@common-lisp.net> wrote:
(truename (read-line (sys::process-output - (sys::run-program "which" `(,mvn-path))))) + (sys::run-program "which" `(,mvn-path))))) ;; TODO equivalent for MSDOS
See http://stackoverflow.com/questions/304319/is-there-an-equivalent-of-which-on..., where.exe does it on windows, where /? gives help for it, and for example C:\Users\vilvouti>where notepad.exe C:\Windows\System32\notepad.exe C:\Windows\notepad.exe So just run 'where' for it and pick the first line if successful, I guess.