Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!usc!samsung!uunet!jarthur!nntp-server.caltech.edu!fjs From: fjs@nntp-server.caltech.edu (Fernando J. Selman) Newsgroups: comp.unix.programmer Subject: Re: how process in background can kill itself after logout (BSD unix). Message-ID: <1991Jan29.234858.15536@nntp-server.caltech.edu> Date: 29 Jan 91 23:48:58 GMT References: <1991Jan29.012702.7265@nntp-server.caltech.edu> Organization: California Institute of Technology, Pasadena Lines: 19 fjs@nntp-server.caltech.edu (Fernando J. Selman) writes: >I would like to be able for a process I have running in the >background to kill itself after I logout. I am using BSD unix >in a Sun Sparcserver 490. Because a bug in the OS the process >keep writing to the terminal after I logout. Any help will >be appreciated. > - Fernando I would like to thank everybody who sent help to this posting. I received many interesting suggestions to use from a C program. Because what I had was a script I ended using the command trap 'tiding up commands; exit 1' 0 1 2 15 which I found in K&RII. Thank for the help Fernando