VMS Help  —  KCAP  Commands  SPAWN
   KCAP> SPAWN
   This command can be used from the KCAP> 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:

     KCAP> SPAWN SHOW TIME
       20-FEB-1992 17:13:04
     %KCAP-I-RETURNED, control returned to process D_STROM
     KCAP> SPAWN
     $ SHOW TIME
       20-FEB-1992 17:13:19
     $ LOG
       Process D_STROM_1 logged out at 20-FEB-1992 17:13:21.54
     %KCAP-I-RETURNED, control returned to process D_STROM
     KCAP>
     KCAP> SPAWN/NOWAIT/INPUT=MGR$:CHECK.COM/OUTPUT=MGR$:CHECK.LOG
     %KCAP-I-SPAWNED, process D_STROM_1 spawned
     KCAP>
Close Help