home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / unix / internal / 1797 < prev    next >
Encoding:
Internet Message Format  |  1992-09-11  |  909 b 

  1. Path: sparky!uunet!think.com!barmar
  2. From: barmar@think.com (Barry Margolin)
  3. Newsgroups: comp.unix.internals
  4. Subject: Re: How can a Unix process put itself in background?
  5. Date: 11 Sep 1992 18:33:32 GMT
  6. Organization: Thinking Machines Corporation, Cambridge MA, USA
  7. Lines: 11
  8. Message-ID: <18qopsINN12n@early-bird.think.com>
  9. References: <lma.716056953@dayton.Stanford.EDU> <1992Sep11.170405.28836@tandem.com>
  10. NNTP-Posting-Host: telecaster.think.com
  11.  
  12. In article <1992Sep11.170405.28836@tandem.com> norcott_bill@tandem.com  (Bill Norcott) writes:
  13. >If you have a POSIX 1003.1 conforming system, a process can put 
  14. >itself into the background with the setpgid() system call.
  15.  
  16. You still have to fork first, as the shell (or whatever process started the
  17. program) waits for the original process to exit.
  18. -- 
  19. Barry Margolin
  20. System Manager, Thinking Machines Corp.
  21.  
  22. barmar@think.com          {uunet,harvard}!think!barmar
  23.