CTF$HELP.HLB  —  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.
Close Help