shell

Function summary
close-pipe stream
exec-and-print program &rest args
open-file-in-os path
pipe-input prog &key args (wait nil)
pipe-output prog &key args (wait nil)
remove-plist plist &rest keys
run-prog prog &rest opts &key args (wait t) &allow-other-keys
Macro summary
pipe-through (stream-to-prog stream-from-prog prog &rest args) &body body
with-open-pipe (pipe open) &body body
remove-plist   plist &rest keys  [Function]

Remove the keys from the plist. Useful for re-using the &REST arg after removing some options.

run-prog   prog &rest opts &key args (wait t) &allow-other-keys  [Function]

Common interface to shell. Does not return anything useful.

pipe-output   prog &key args (wait nil)  [Function]

Return an output stream which will go to the command.

pipe-input   prog &key args (wait nil)  [Function]

Return an input stream from which the command output will be read.

close-pipe   stream  [Function]

Close the pipe stream.

exec-and-print   program &rest args  [Function]

runs a shell command and prints the output to the listener

open-file-in-os   path  [Function]
pipe-through   (stream-to-prog stream-from-prog prog &rest args) &body body  [Macro]

opens an input stream and and an output stream from a program. It is your responsibility to close both streams

with-open-pipe   (pipe open) &body body  [Macro]

Open the pipe, do something, then close it.