Xref: utzoo comp.sys.apollo:8775 comp.lang.perl:4946 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!olivea!uunet!mcsun!cernvax!cernapo.cern.ch!rtb From: rtb@cernapo.cern.ch (Rainer Tobbicke) Newsgroups: comp.sys.apollo,comp.lang.perl Subject: Re: Keeping DM from killing process at logout Message-ID: Date: 16 Apr 91 11:01:50 GMT References: <1991Apr15.221826.11448@cci632.cci.com> Sender: news@cernvax.cern.ch Followup-To: comp.sys.apollo Lines: 16 mth@cci632.cci.com (Michael Hickman) writes: >I have written a program in PERL that forks daemon process. I have the >daemon process do a ioctl(TTY, &TIOCNOTTY, 0), and even give it a unique >process group id with setpgid(0, $$). When running under an rlogin shell, >I can logout and the daemon process keeps running. However, if I'm using >the Display Manager, it does it's utmost to kill the process when I logout. Create a server process, either with the 'cps' DM command or with /etc/server -p my.script. -- Rainer Toebbicke European Organisation for Nuclear Research (CERN) Geneva, Switzerland rtb@cernapo.cern.ch, rtb@cernvm.cern.ch