Technical data

SPAWN
Examples
CTF> SPAWN "SHOW SYSTEM"
spawns a sub-process in which a SHOW SYSTEM command is executed, after
which control returns to the parent process.
CTF> SPAWN /INPUT=CMDS.COM
spawns a sub-process and executes the DCL commands in CMDS.COM, after
which control returns to the parent process.
CTF> SPAWN /INPUT=CMDS.COM/OUTPUT=CMDS_OUT.LIS/NOWAIT
also executes the DCL commands in CMDS.COM, but returns control
immediately to the parent process without waiting for the spawned sub-process to
complete. Any output produced by the sub-process is written to CMDS_OUT.LIS.
4–18 CTF Commands