7.0;cp (create_process) *DM*, revision 7.0, 83/08/09
CP (CREATE_PROCESS) *DM* -- Create process, pads, and windows.
usage: [region]cp pathname [-n name] [args ...]
FORMAT
[region]CP pathname [options]
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).
OPTIONS
-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.
args ... Specify any arguments to be passed to the program
'pathname'. If any of these arguments contain explicit
blanks, enclose those arguments in quotation marks.
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