SPAWN

From VSI OpenVMS Wiki
Jump to: navigation, search

SPAWN is a DCL command that creates a subprocess of the current process. Portions of the current process context are copied to the subprocess. The RESOURCE_WAIT state is required to spawn a process. Requires TMPMBX (temporary mailbox) or PRMMBX (permanent mailbox) privilege. The SPAWN command does not manage terminal characteristics. The SPAWN and ATTACH commands cannot be used if your terminal has an associated mailbox.

Syntax

SPAWN  [command-string]

Qualifiers

  • /CARRIAGE_CONTROL
  • /CLI
  • /INPUT
  • /KERNEL_THREAD_LIMIT
  • /KEYPAD
  • /LOG
  • /LOGICAL_NAMES
  • /NOTIFY
  • /OUTPUT
  • /PRIVILEGES
  • /PROCESS
  • /PROMPT
  • /SYMBOLS
  • /TABLE
  • /TRUSTED
  • /WAIT