how process in background can kill itself after logout (BSD unix).
Fernando J. Selman
fjs at nntp-server.caltech.edu
Wed Jan 30 10:48:58 AEST 1991
fjs at 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
More information about the Comp.unix.programmer
mailing list