home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / linux / 9645 < prev    next >
Encoding:
Internet Message Format  |  1992-09-01  |  1.7 KB

  1. Path: sparky!uunet!charon.amdahl.com!amdahl!veritas!amdcad!weitek!pyramid!ctnews!starfish!paulz
  2. From: paulz@starfish.Convergent.COM (Paul Zimmerman)
  3. Newsgroups: comp.os.linux
  4. Subject: Re: Background processes not dying on parent exit
  5. Message-ID: <3071@starfish.Convergent.COM>
  6. Date: 31 Aug 92 20:59:40 GMT
  7. References: <1992Aug31.040048.27053@athena.mit.edu> <1992Aug31.071011.15546@u.washington.edu>
  8. Organization: Unisys Unix Systems Group, San Jose, CA
  9. Lines: 34
  10.  
  11. In <1992Aug31.071011.15546@u.washington.edu> barr@hardy.u.washington.edu (David Barr) writes:
  12.  
  13. >hammond@kwhpc.caseng.com (Kevin W. Hammond) writes:
  14.  
  15. >>I'm not sure if this is a shell problem or OS problem.
  16.  
  17. >Neither; the behavior you are about to describe is normal.
  18.  
  19. >>  I'll start with the
  20. >>OS....
  21.  
  22. >>I ran a process in the background from tcsh with the ampersand (&).
  23. >>I would have expected that when I logged out of the shell that my
  24. >>background processes would have died as well, but they didn't.
  25.  
  26. >>Is the shell responsible for killing the background processes, or,
  27. >>since the shell is the parent of them and has been terminated,
  28. >>shouldn't the OS kill the processes automatically?
  29.  
  30. >The processes are not supposed to go away unless they are suspended
  31. >for some reason.  Another thing to watch out for: if someone logs in
  32. >on the tty you were on when you started the jobs, they will get the
  33. >output from your program.
  34.  
  35. Umm, I'm pretty sure your background processes are supposed to get a
  36. SIGHUP when you log out, unless they are started with nohup or they ignore
  37. the SIGHUP signal. At least it works that way on my SVR3 system here at
  38. work. Is this different under POSIX? BSD?
  39.  
  40. Curious,
  41. Paul
  42. -- 
  43. Paul Zimmerman  --  paul@colosus.Convergent.COM
  44. "I toast, therefore I am."  - AI toaster from _Red Dwarf_
  45.