[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: System Calls from CLISP

Art Nuzzo <artn@bs724.comm.mot.com>:
> Probably for what I am doing 'run-shell-command' or `run-program' ('SHELL' or
> EXECUTE) would be sufficient since I would be calling standard UNIX system
> commands (such as ps or who or ping, etc). Is there any way to capture the
> unix command output in a variable so it can be processed?

Yes, you can do this with `run-shell-command' and `run-program'.
Documentation for these two functions, as for any CLISP specific stuff,
is in impnotes.txt (if you got a binary distribution) or _impnotes.txt (if
you got the source).