Re: no such program error invoking run-program?
Raymond Toy <[email protected]> Mon, 11 Jan 2016 16:24:28 -0800
| Newsgroups | gmane.lisp.cmucl.general |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Jared" == Jared C Davis <[email protected]> writes: Jared> Hi, [snip] Jared> But weirdly run-program fails when I tell it to run ./temp.sh: Jared> * (run-program "./temp.sh" nil :output t) Jared> Error in function RUN-PROGRAM: No such program: "./temp.sh" Jared> [Condition of type SIMPLE-ERROR] Jared> Restarts: Jared> 0: [ABORT] Return to Top-Level. Jared> Debug (type H for help) Jared> (RUN-PROGRAM "./temp.sh" ("./temp.sh") :ENV NIL ...) Jared> Source: Error finding source: Jared> Error in function DEBUG::GET-FILE-TOP-LEVEL-FORM: Source file no Jared> longer exists: Jared> target:code/run-program.lisp. [snip] Jared> I'm a little curious about the "Error finding source" message Jared> above and I don't know if that's to be expected. GP Lisper has given the answer, but to answer this question about not being able to find the the source, this is expected unless you've set up everything and actually have the source available. Basically, you need to have the sources somewhere and do something like (setf (search-list "target:") '("/path/to/src/")) Then cmucl will be able to find the sources and give you the actual source line/sexp for errors. -- Ray _______________________________________________ cmucl-help mailing list [email protected] http://lists.zs64.net/mailman/listinfo/cmucl-help