home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!stanford.edu!rock!concert!samba!sunSITE!jem
- From: jem@sunSITE.unc.edu (Jonathan Magid)
- Subject: Re: Problem(bug?) when running background jobs with X windows
- Message-ID: <1992Dec16.180255.28453@samba.oit.unc.edu>
- Sender: usenet@samba.oit.unc.edu
- Nntp-Posting-Host: sunsite.unc.edu
- Organization: University of North Carolina, Chapel Hill
- References: <1992Dec16.053232.19524@eng.umd.edu> <1992Dec16.070424.5950@tc.cornell.edu>
- Date: Wed, 16 Dec 1992 18:02:55 GMT
- Lines: 21
-
- In article <1992Dec16.070424.5950@tc.cornell.edu> mdw@db.TC.Cornell.EDU (Matt Welsh) writes:
- >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.
- >
- >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.
-
- Are you using a csh variant on the sun?
-
- the csh automatically "nohups" all processes it places in the background.
- sh variants (like bash) do not do this and one must use matt's suggestion
- to get that functionality.
-
- --
- Jonathan Magid jem@sunSITE.unc.edu sunSITE Administrator
- Virtual pizza Delivery (tm)::faxed in 30 cycles or less or you get it
- ----------------------------------------FREE!!!-----------------------
-