🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #4507

Simple PID = System() ?

#4507
From: Laura Garcia
Date: Wed, 20 Dec 1995 01:35
9 lines
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!garc9588

Show 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]