From: CSBVAX::MRGATE!@KL.SRI.Com:nagy%warner.hepnet@Lbl.Arpa@SMTP 14-OCT-1987 08:22 To: EVERHART Subj: Re: Creating a Detached process with a CLI (running DCL) Received: from Lbl.Arpa by KL.SRI.COM with TCP; Wed 14 Oct 87 04:44:33-PDT Received: from warner.hepnet by Lbl.Gov with VMSmail ; Wed, 14 Oct 87 04:25:01 PDT Date: Wed, 14 Oct 87 04:25:01 PDT From: nagy%warner.hepnet@Lbl.Arpa (Frank J. Nagy/VAX Guru) Message-Id: <871014042502.01o@Lbl.Arpa> Subject: Re: Creating a Detached process with a CLI (running DCL) To: Info-VAX@kl.sri.com X-ST-Vmsmail-To: INFO_VAX > 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