8.0;cp (create_process) *DM*, revision 8.0, 84/05/24
CP (CREATE_PROCESS) -- Create process, pads, and windows.
usage: [region]cp [-i] [-c 'char'] [-n name] pathname [args ...]
FORMAT
[region]CP [options] pathname [args ...]
CP creates a process, input and transcript pads, and input and transcript
windows, then executes a program (indicated by the 'pathname' argument) within
that process.
To create a process running the Shell, either press the <SHELL> key (which
causes everything to happen automatically) or specify /COM/SH for 'pathname'.
To stop a Shell and delete all windows and pads associated with its parent
process, type CTRL/Z in the Shell's process input pad, then CTRL/N to close
the window.
ARGUMENTS
region
(optional) Specify area of the screen where the new window will be
displayed. For details on window regions, type HELP
WINDOWS. Default if omitted: use next DM default window
pathname
(required) Specify file to be executed by the new process: usually a
Shell (command interpreter).
args ...
(optional) Specify any arguments to be passed to the program
'pathname'. If any of these arguments contain explicit
blanks, enclose those arguments in quotation marks.
OPTIONS
Note that options, if present, must precede the 'pathname' argument.
-I Specify that the window created for this process will be in
icon format.
-C 'char' Specify the icon character to be used in the icon window.
'char' must reside in the current icon font. If this
option is not specified and -I is present, the Display
Manager will use the default icon character for this pad
type.
-N name Assign process name 'name.' If omitted, the DM assigns the
name "Process_n," where n is an integer beginning with 1
and incremented by 1 for each active process. Due to an
error in the DM at SR8, the -N option must FOLLOW the
'pathname' argument (and any 'args' arguments) in order to
be interpreted correctly.
RELATED TOPICS
More information is available. Type:
- HELP CPO
for details about creating processes without windows and pads
- HELP CPS
for details about creating server processes
- HELP DQ
for details about stopping processes