home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!think.com!rpi!batcomputer!db.TC.Cornell.EDU!mdw
- From: mdw@db.TC.Cornell.EDU (Matt Welsh)
- Subject: Re: Problem(bug?) when running background jobs with X windows
- Message-ID: <1992Dec16.070424.5950@tc.cornell.edu>
- Sender: news@tc.cornell.edu
- Nntp-Posting-Host: db.tc.cornell.edu
- Organization: The Linux Inquisition, Propaganda Division
- References: <1992Dec16.053232.19524@eng.umd.edu>
- Date: Wed, 16 Dec 1992 07:04:24 GMT
- Lines: 18
-
- In article <1992Dec16.053232.19524@eng.umd.edu> yjwu@eng.umd.edu (Yu-Jen Wu) writes:
- >I found a problem(maybe a bug?) when I try to do some background jobs under X.
- >If I send the job to the background and then exit X, that job would be killed.
- >This does not(and should not) happen for Sun Unix---all background jobs under
- >X would be still running even if you exit X.
-
- If you put them in the background with a command such as
-
- foo &
-
- Then they should be killed, as the parent shell that spawned the process is killed
- when you exit X. If you don't want the processes to go away, try using 'nohup'
- or fork and orphan the process by hand.
-
- mdw
- --
- Matt Welsh mdw@tc.cornell.edu Cornell Theory Center
- "It's a Katana, ya Midwestern Computer Geek." --Tom Payne
-