On Fri, 4 Nov 2005, Zbyszek Jurkiewicz wrote:

>
> I observed the following behavior
>
> * (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]

run-program don't work with relative paths in newer versions of
cmucl (19-> ?) I have encountered the same problem myself. Don't
know whether this is intended or just a bug. If you either add the
location of the program to the $PATH environment variable, or use
an absolute path, it works.

I tested it both on solaris and linux, but for cmucl 18e on
solaris it worked, so the semantics has changed since then.
In fact I had to change some programs that used to run on cmucl 18e
on solaris, but now runs on cmucl 19 on linux.

-- 
Gisle Sælensminde, Phd student, Scientific programmer
Computational biology unit, BCCS, University of Bergen, Norway, 
Email: [EMAIL PROTECTED]
If I had more time, I would have written a shorter letter. (Blaise Pascal)


Reply via email to