Article View: comp.std.c
Article #4507Simple PID = System() ?
From: Laura Garcia
Date: Wed, 20 Dec 1995 01:35
Date: Wed, 20 Dec 1995 01:35
9 lines
797 bytes
797 bytes
Hi,
I have a very simple Question.
How do I get the PID of my child-process after calling
the "system("child-process");" function?
I really do not want to launch another system call just to "PS" around.
M&L
Technical Details
Message-ID:
<4b7p8u$gbv@newshound.csrv.uidaho.edu>Path:
arc1-ca.pugleaf.net!harrier.csrv.uidaho.edu!garc9588Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!harrier.csrv.uidaho.edu!garc9588 From: garc9588@harrier.csrv.uidaho.edu (Laura Garcia) Newsgroups: comp.std.c Subject: Simple PID = System() ? Date: 20 Dec 1995 01:35:25 GMT Organization: University of Idaho, Moscow, Idaho Distribution: world Message-ID: <4b7p8u$gbv@newshound.csrv.uidaho.edu> NNTP-Posting-Host: harrier.csrv.uidaho.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Newsreader: TIN [version 1.2 PL2]