Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Check if a process is running on Windows

by bibo (Pilgrim)
on Jun 14, 2004 at 01:41 UTC ( [id://366386]=note: print w/replies, xml ) Need Help??


in reply to Check if a process is running on Windows

Umm, this is pointed in a slightly different direction....

How about having the original script write it's PID at start to a file, say foo.run? your metascript could grab that PID and then query the OS if this particular PID is alive and kicking.... I have also written programs that update the run file every N minutes, as a keep-alive indicator. Then at least you have some idea when it died, and can start determining WHY it died. Good luck, I know how ugly and hurtful the Win32 world can be <grin>

  • Comment on Re: Check if a process is running on Windows

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-20 05:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found