in reply to Process ID of launched program?

... And, since the OP wanted to actually start up a new process, he/she can do that in the child using exec--the new process will take the process ID of the child.

So, in your child, do this:

exec "new_process";
And that new_process will have the pid stored in $pid (in the parent).

Replies are listed 'Best First'.
RE: Re: Process ID of launched program?
by Anonymous Monk on Mar 02, 2000 at 01:40 UTC
    THANKS PERL MONKS!!! The fork() and exec() functions together will allow me to launch a program and find its pid. I'll try and post my Perl program load managing program to the "code" section after I write it.