Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!HUMU.NOSC.MIL!kent From: kent@HUMU.NOSC.MIL (Kent K. Kuriyama) Newsgroups: comp.sys.apollo Subject: Re: Creating user processes that continue after logout Message-ID: <8903202134.AA02904@humu.nosc.mil> Date: 20 Mar 89 21:34:48 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 35 In article <8903152255.AA16493@humu.nosc.mil> I described a problem in which when I entered: % background_prog & My program gets blown away when I log out of the display manager. I received the advice concerning my problem: >Date: Fri, 17 Mar 89 18:08:37 est >From: twv@rayssdap1.RAY.COM (Vrankar) >Message-Id: <8903172308.AA00621@rayssdap1.RAY.COM> >To: kent >Subject: continue after logout > >If you are running from a Bourne shell (/bin/sh), you'll need to do: >% nohup background_prog & >The C shell (/bin/csh) is supposed to do this automatically. > >If this doesn't get you where you want to go, slime it: >% /com/crp -on $NODEID -me -cps /com/sh '/bin/sh -c background_prog' >That ought to run until it is through; if it never finishes, it'll >run as long as the node doesn't crash. > twv@rayssdap10 Although he says that /bin/csh is supposed to do the 'nohup' automatically I had to explicitly specify it. Works great! Thanks to all of you that responded. Kent Kuriyama Naval Ocean Systems Center Hawaii Laboratory kent@nosc.mil