Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!snorkelwacker!bloom-beacon!eru!hagbard!sunic!infolog!rabbe From: rabbe@infolog.se (Rabbe Fogelholm) Newsgroups: comp.sys.apollo Subject: Re: How do you create a persistent background process from DM? Message-ID: <218@infolog.se> Date: 13 Sep 90 11:06:40 GMT References: <2411@dover.sps.mot.com> Organization: Infologics, Sollentuna, Sweden Lines: 24 In article <2411@dover.sps.mot.com> talent@spanky.sps.mot.com (Steve Talent, Motorola Semiconductor Products Sector CAD) writes: >I need to start a background process from a display manager window that >will continue running after logout. I've tried nohup, nice, and &. >The process is started from a /bin/csh script running in a DM window. > >The problem is that any process started from a DM window will be stopped >at logout. > >(... text deleted ...) Am I missing something or is there no simple way to do this? I would suggest something like the following (tested on a node that runs SR9.7, has /sys/spm/spm running, and BSD4.2 installed): /com/crp -on $NODEID -me -cpo '/bsd4.2/usr/bin/sleep 567' The example starts a process that just sleeps for a while. It can be inspected using 'ps x'. The technique should work for SysV too, but I can't test that case. -- ________________________________________________________________________ Rabbe Fogelholm, Infologics AB rabbe@infolog.se fax: +46 8 960846