The UNIXProcess class controls other operating system processes from within Smalltalk. The
UNIXProcess class supports both interactive and passive processes. Interactive processes support stream-based pipes for stdin, stdout, and stderr. Stream-based pipes enable the developer to control the process (input) and record the resulting output. For example, UNIX shell scripts can be invoked from within a Smalltalk application.
The UNIXReadPipeStream and
UNIXWritePipeStream classes support a subset of the stream protocol. Instances of
UNIXReadPipeStream are answered by a
UNIXProcess for stdout and stderr streams, and instances of
UNIXWritePipeStream are answered for input streams.