home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!ogicse!news.u.washington.edu!hardy.u.washington.edu!barr
- From: barr@hardy.u.washington.edu (David Barr)
- Newsgroups: comp.os.linux
- Subject: Re: Background processes not dying on parent exit
- Message-ID: <1992Aug31.071011.15546@u.washington.edu>
- Date: 31 Aug 92 07:10:11 GMT
- Article-I.D.: u.1992Aug31.071011.15546
- References: <1992Aug31.040048.27053@athena.mit.edu>
- Sender: news@u.washington.edu (USENET News System)
- Organization: University of Washington
- Lines: 21
-
- hammond@kwhpc.caseng.com (Kevin W. Hammond) writes:
-
- >I'm not sure if this is a shell problem or OS problem.
-
- Neither; the behavior you are about to describe is normal.
-
- > I'll start with the
- >OS....
-
- >I ran a process in the background from tcsh with the ampersand (&).
- >I would have expected that when I logged out of the shell that my
- >background processes would have died as well, but they didn't.
-
- >Is the shell responsible for killing the background processes, or,
- >since the shell is the parent of them and has been terminated,
- >shouldn't the OS kill the processes automatically?
-
- The processes are not supposed to go away unless they are suspended
- for some reason. Another thing to watch out for: if someone logs in
- on the tty you were on when you started the jobs, they will get the
- output from your program.
-