[armedbear-devel] [armedbear-cvs] r13841 - trunk/abcl/contrib/abcl-asdf

Ville Voutilainen ville.voutilainen at gmail.com
Wed Feb 1 13:43:51 UTC 2012


On 1 February 2012 15:25,  <mevenson at 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-windows,
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.




More information about the armedbear-devel mailing list