+ Zbyszek Jurkiewicz <[EMAIL PROTECTED]>:
| * (probe-file (pathname "./bin/gtkd"))
|
| #p"/home/zbyszek/cmucl-init/cl-gtk/bin/gtkd"
| * (run-program "./bin/gtkd" '("./bin/gtkd"))
|
|
|
| Error in function RUN-PROGRAM: No such program: "./bin/gtkd"
| [Condition of type SIMPLE-ERROR]
|
| This is under 19a on Slackware Linux. gtkd exists and is executable.
| Any reason for this inconsistency?
RUN-PROGRAM uses (merge-pathnames program "path:") to look for the
program to run. And path: is a cmucl-style search path, which in
turn gets its value from the PATH environment variable (or so it
seems). Presumably this is for consistency with expected unix
behaviour, so you can (run-program "ls" ...). If you do not wish this
behaviour, just do (run-program (probe-file "./bin/gtkd") ...)
instead, or use some other means to obtain an absolute pathname to
pass to RUN-PROGRAM.
- Harald