On Sat, Jan 7, 2012 at 4:18 AM, Neil Van Dyke <n...@neilvandyke.org> wrote:
> How do I get the complete path to Racket executables like "raco", in a
> portable way?

'find-exe' from the compiler/find-exe library should do the trick:

http://docs.racket-lang.org/raco/exe.html#(def._((lib._compiler/find-exe..rkt)._find-exe))


We might also be able to use find-executable-path, though it wouldn't
guarantee that it would find it if Racket isn't in PATH.  find-exe is
probably the better bet.
____________________
  Racket Users list:
  http://lists.racket-lang.org/users

Reply via email to