ARPUS/ce, Version 2.6.2 (03/10/05) (SCCS 1.6)
_______________________________________________________________________________
cpo [-w] [-d] [-s] <command> [<arg1> <arg2> ...]
cpo [-w] [-d] [-s] '<command> [<arg1> <arg2> ...]'
"create process only"
The "cpo" command is used to create a new process and run a program
in the process. There are two syntaxes for cpo. One accepts
arguments to the command to be run to be separate tokens. The other
allows you to enclose the command and it's arguments in a set of
single or double quotes. This second form mimics the syntax of the
cp command.
-w
This option specifies that ce is to wait until the command
completes before continuing. This is used for commands which
will generate output which will be pasted into the window. This
option should be used with caution because Ce will not accept
user input until the command completes. On some platforms, if Ce
is in a wait for a long time and user input stacks up in the X
server, the X server will kill the Ce session. If -w and -s
are specified, stderr from the command is put in the output
message window.
-d
Debug option. This option tells Ce to leave stdout and stderr
for the created process pointing to it's own stdout and stderr.
This is often the ceterm which started the ce. Output written to
stdout and stderr may be viewed. The -s option will override this.
-s
Save option. This option tells Ce to route stdout to the named
paste buffer BangOut and route stderr to the named paste buffer
BangErr. This data can be retrieved in with the commands
xp BangOut and xp BangErr.
"cpo" does not run the specified command inside a shell. If you want
the command to run within a shell, for example, to run a shell script,
you must include the shell as part of the command:
cpo -w /sys5/bin/sh 'myshell /tmp/i_spell /tmp/o_spell'
RELATED HELP FILES:
ce (Create Edit)
cv (Create View - Command: prompt)
cc (Carbon Copy)
cp (Create Process)
cps (Create Server Process)
xresources (Arguments and X resources)
ceterm (ceterm - from shell prompt)
support (customer support)
_______________________________________________________________________________
Copyright (c) 2005, Robert Styma Consulting. All rights reserved.