home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!think.com!barmar
- From: barmar@think.com (Barry Margolin)
- Newsgroups: comp.unix.internals
- Subject: Re: How can a Unix process put itself in background?
- Date: 11 Sep 1992 18:33:32 GMT
- Organization: Thinking Machines Corporation, Cambridge MA, USA
- Lines: 11
- Message-ID: <18qopsINN12n@early-bird.think.com>
- References: <lma.716056953@dayton.Stanford.EDU> <1992Sep11.170405.28836@tandem.com>
- NNTP-Posting-Host: telecaster.think.com
-
- In article <1992Sep11.170405.28836@tandem.com> norcott_bill@tandem.com (Bill Norcott) writes:
- >If you have a POSIX 1003.1 conforming system, a process can put
- >itself into the background with the setpgid() system call.
-
- You still have to fork first, as the shell (or whatever process started the
- program) waits for the original process to exit.
- --
- Barry Margolin
- System Manager, Thinking Machines Corp.
-
- barmar@think.com {uunet,harvard}!think!barmar
-