Re: no such program error invoking run-program?
Raymond Toy <[email protected]> Tue, 12 Jan 2016 08:55:43 -0800
| Newsgroups | gmane.lisp.cmucl.general |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Jared" == Jared C Davis <[email protected]> writes: Jared> Hi, Jared> Thanks much for the replies. I'll try to arrange a cmucl-init file Jared> that sets up the search-list correctly for my source distribution Jared> tomorrow. The source distribution should include the file generic-site.lisp. It's meant as a generic site-init.lisp file, but you can hack it up to be your personal init. At the end is an example of how you can set up the target search list to find your sources, if you place them near the same directory as bin/lisp. I use this. Jared> Is there a way to arrange so that cmucl inherits the current working Jared> directory from the shell? (It seems like that would be quite Jared> convenient.) You can look at the :env argument to run-program or modify the "path:" search list with something like: (push (default-directory) (search-list "path:")) The "path:" search list basically becomes the PATH envvar. I think. I didn't try the :env arg to run-program, so I'm not sure what to do there, but maybe something like :env (list :path "<typical-shell-PATH-string>" will work. (The docstring for that needs to be improved.) -- Ray _______________________________________________ cmucl-help mailing list [email protected] http://lists.zs64.net/mailman/listinfo/cmucl-help