A string, a list of strings, a simple-vector of strings, or
A type specifier.
A boolean. Not implemented on Microsoft Windows.
A shell type.
On Unix/Linux/Mac OS X/FreeBSD the behavior of
is analogous to that of
in the UNIX library. It creates a pipe to/from a subprocess and returns a stream. The stream can be read from or written to as appropriate.
command is interpreted as by call-system-showing-output.
is a keyword for the stream direction. The default value is
. Bidirectional (I/O) pipes may be created by pasing
. See the example below. This argument is ignored on Microsoft Windows.
specifies the type of the stream as with open. The default value is
. This argument is ignored on Microsoft Windows.
specifies the type of shell to run. On Unix-like systems the default value is
. On Microsoft Windows the default value is
. Note that on Windows ME/98/95 you will need to pass
use-pty is useful on Unix-like systems if the sub-process behaves differently when running interactively and non-interactively. When use-pty is non-nil, the input and output of the sub-process are opened using PTY (Pseudo-pty). That means that the sub-process sees its input and output as if they come from an interactive terminal. The PTY also processes special characters such as Ctrl-C the same way that an ordinary TTY does.
is probably not useful on Microsoft Windows as there is no concept corresponding to the Unix behavior. If
is non-nil then it uses the
flag when creating the child, but it is not obvious when this might be useful.
stream supports mixed character and binary I/O in the same way as file streams constructed by open.
LispWorks User Guide and Reference Manual - 21 Dec 2011