Spawn-Command

(spawn-command path ?arg-list ?env-list) -> stream

Creates a read/write channel to a process run in the host environment.

Example:

>> (define x (spawn-command "/bin/cat"))
:: [stream 80DF9A8]
>> (send "Alpha" x)
:: null
> (wait x)
:: "Alpha"
>> (send "Beta" x)
:: null
>> (wait x)
:: "Beta"

IMPORTANT: spawn-command may not be used with Win32 systems.