[comp.os.vms] Creating a Detached process with a CLI

nagy%warner.hepnet@LBL.GOV (Frank J. Nagy/VAX Guru) (10/14/87)

> Does anyone know how to run a program detached AND have it attached with a
> CLI (specifically, VMS).  So far, we have been unable to do so.  This
> prevents us from using the spawn and do_command system services from a
> detached job.  HELP!
     
To create a detached process running DCL, use the following parameters
in the $CREPRC:

	- the image to be executed is SYS$SYSTEM:LOGINOUT

	- the following flags are set in the $CREPRC flags longword:

		PRC$M_NOUAF	 - bypass login verification
		PRC$M_DETACH	 - makes it a detached process
		PRC$M_NOPASSWORD - no prompt for username/password


= Frank J. Nagy   "VAX Guru"
= Fermilab Research Division EED/Controls
= HEPNET: WARNER::NAGY (43198::NAGY) or FNAL::NAGY (43009::NAGY)
= BitNet: NAGY@FNAL
= USnail: Fermilab POB 500 MS/220 Batavia, IL 60510