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

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