10.0;cp (create_process) *DM*, revision 1.0, 88/03/17
cp (create_process) create process, pads, and windows
usage: [region cp [-i] [-c 'char'] [-n name] pathname [args ...]]
ARGUMENTS
region (optional)
Specify the area of the screen where the new window will
be displayed.
Default if omitted: use next DM default window
pathname (required)
Specify the 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 contains explicit
blanks, enclose those arguments in quotation marks.
OPTIONS
Note that any options must precede the pathname argument.
-i Specify that the window created for this process should be
in icon format, initially.
-c 'char' Specify the icon character to be used in the icon window.
char must reside in the current icon font. If you do not
specify this option and -i is present, the DM uses the
default icon character for this pad type.
-n name Assign process name name. If you do not, the DM assigns
the name "padn," where n is an integer beginning with 1
and incremented by 1 for each active process.
EXAMPLES
1. Create a process named 'spare' running the shell. The -nstart
option on sh suppresses startup file execution for the new shell.
Command: (0,0)dr;(500,300) cp -n spare/com/sh -nstart
2. Create a process running the shell, and place it in a window in
icon format using the default icon character for this pad type.
Command: cp -i /com/sh
SEE ALSO
More information is available. Type the following at an Aegis shell
prompt:
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