home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20691 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.7 KB  |  34 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!agate!stanford.edu!rock!concert!samba!sunSITE!jem
  3. From: jem@sunSITE.unc.edu (Jonathan Magid)
  4. Subject: Re: Problem(bug?) when running background jobs with X windows
  5. Message-ID: <1992Dec16.180255.28453@samba.oit.unc.edu>
  6. Sender: usenet@samba.oit.unc.edu
  7. Nntp-Posting-Host: sunsite.unc.edu
  8. Organization: University of North Carolina, Chapel Hill
  9. References: <1992Dec16.053232.19524@eng.umd.edu> <1992Dec16.070424.5950@tc.cornell.edu>
  10. Date: Wed, 16 Dec 1992 18:02:55 GMT
  11. Lines: 21
  12.  
  13. In article <1992Dec16.070424.5950@tc.cornell.edu> mdw@db.TC.Cornell.EDU (Matt Welsh) writes:
  14. >In article <1992Dec16.053232.19524@eng.umd.edu> yjwu@eng.umd.edu (Yu-Jen Wu) writes:
  15. >>I found a problem(maybe a bug?) when I try to do some background jobs under X.
  16. >>If I send the job to the background and then exit X, that job would be killed.
  17. >>This does not(and should not) happen for Sun Unix---all background jobs under
  18. >>X would be still running even if you exit X.
  19. >
  20. >Then they should be killed, as the parent shell that spawned the process is killed
  21. >when you exit X. If you don't want the processes to go away, try using 'nohup' 
  22. >or fork and orphan the process by hand.
  23.  
  24. Are you using a csh variant on the sun?
  25.  
  26. the csh automatically "nohups" all processes it places in the background.
  27. sh variants (like bash) do not do this and one must use matt's suggestion
  28. to get that functionality.
  29.  
  30. -- 
  31. Jonathan Magid     jem@sunSITE.unc.edu       sunSITE Administrator
  32. Virtual pizza Delivery (tm)::faxed in 30 cycles or less or you get it
  33. ----------------------------------------FREE!!!-----------------------
  34.