PEEK> SPAWN
This command can be used from the PEEK> prompt to spawn a subprocess.
The optional parameter is a command string to be executed by the
spawned subprocess.
The SPAWN command also takes the following qualifiers:
/CARRIAGE_CONTROL - Controls subprocess prompt string format.
/CLI - To specify a command line interpreter
other than DCL.
/INPUT - Where the subprocess gets its input commands.
/KEYPAD - Whether DEFINE/KEY settings are inherited.
/LOG - Display process name when re-attaching to process.
/LOGICAL_NAMES - Whether logical names are inherited.
/NOTIFY - If a message is received when subprocess finishes.
/OUTPUT - Where subprocess sends its output.
/PROCESS - Name of the subprocess to be created.
/PROMPT - The prompt string to use for subprocess.
/SYMBOLS - Whether symbol definitions are inherited.
/WAIT - Does parent wait for subprocess (default=yes).
For further details, use VMS's HELP on SPAWN, or see the description of
LIB$SPAWN in the VAX/VMS Run-Time Library Routines Reference Manual.
Examples:
PEEK> SPAWN SHOW TIME
20-FEB-1992 17:13:04
%PEEK-I-RETURNED, control returned to process D_STROM
PEEK> SPAWN
$ SHOW TIME
20-FEB-1992 17:13:19
$ LOG
Process D_STROM_1 logged out at 20-FEB-1992 17:13:21.54
%PEEK-I-RETURNED, control returned to process D_STROM
PEEK>
PEEK> SPAWN/NOWAIT/INPUT=MGR$:CHECK.COM/OUTPUT=MGR$:CHECK.LOG
%PEEK-I-SPAWNED, process D_STROM_1 spawned
PEEK>