Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: Exec() and getting system PID

by hossman (Prior)
on Jan 14, 2002 at 12:09 UTC ( [id://138539] : note . print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
          pid = fork ();
          if (pid != 0)
    ...
              /*printf ("forking mode: pid=%d\n", pid);*/
              exit (0);
            }