Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ cpo — Apollo

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

CP

CPS

SIGP

9.5;cpo (create_process_only) *DM*, revision 9.5, 86/07/24
CPO (CREATE_PROCESS_ONLY) -- Create process without pads or windows.
usage:  cpo [-n name] [-w] pathname [args ...]


FORMAT

  CPO [options] pathname [args...]


  The  CPO  command  creates only a process, without associated pads or windows.
  The four standard I/O streams are directed to  /DEV/NULL.    If  this  command
  appears  in  the  node's  DM boot startup script `NODE_DATA/STARTUP the system
  assigns    the    new     process     the     subject     identifier     (SID)
  USER.SERVER.NONE.local_node,  and  the  created  process  will continue to run
  regardless of whether or not any one is logged in.    This  is  desirable  for
  utilities  like  the  PRSVR  (PRINT_SERVER)  and NETMAN, and means that CPO is
  identical to CPS in this context.

  If CPO is issued in any other startup script or from the keyboard, the SID  of
  the  new process is derived from whatever process invokes CPO, and the created
  process will terminate at logout.


ARGUMENTS

  pathname
  (required)         Specify file to be executed by the new process.

  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.

                     Default if omitted:  no arguments passed.


OPTIONS

  -N name            Assign process name 'name'.  If this option is omitted, the
                     process is not named.

  -W                  Invoke  "wait"  mode.  If this option is specified, the DM
                     suspends its activities until  the  newly  created  process
                     terminates.  As  long  as the process runs, the DM will not
                     respond to keyboard or other input. USE  THIS  OPTION  WITH
                     CAUTION.  If  the newly created process does not terminate,
                     the DM will appear to be  hung.    In  addition,  processes
                     created  using  -W  CANNOT  make any DM requests (via pad_$
                     requests or DM commands) because the DM  is  suspended  and
                     will not respond.


EXAMPLES

  1. Run the ALARM_SERVER in a background process.

      Command: cpo /sys/alarm/alarm_server -disk 98 -bell1


RELATED TOPICS

  More information is available.  Type:

  - HELP CP
   for details about creating processes with windows and pads

  - HELP CPS
   for details about creating server processes

  - HELP SIGP
   for details about stopping background processes

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026