(spawn-terminal string) -> stream
spawn-terminal uses run-command to create a new terminal, based on the current
user environment, and returns a stream connected to the new terminal. The String is an arbitrary identifier for that terminal.
In Win32 environments, this requires netcat.exe, which is bundled with the Win32 installer.
Example:
>> (with-io (spawn-terminal "REPL-2") (spawn repl)) :: [process 5150D0]