Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Getting the pid of the process launched by my perl program

by ozone (Friar)
on Dec 21, 2004 at 12:37 UTC ( #416440=note: print w/replies, xml ) Need Help??


in reply to Getting the pid of the process launched by my perl program

The current process id is stored in $$, but I suspect that what you're trying to do is find out when the background process has died, right? If so, you'd be better off using fork(), exec() and waitpid.

A quick search produced a helpfull node that could help: ForkMe

  • Comment on Re: Getting the pid of the process launched by my perl program

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://416440]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (2)
As of 2022-05-29 09:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (101 votes). Check out past polls.

    Notices?