develooper Front page | perl.win32.vanilla | Postings from May 2010

Running an external process, not waiting for a return, and obtainingits PID

Thread Next
From:
Mike A. Leonetti
Date:
May 6, 2010 09:45
Subject:
Running an external process, not waiting for a return, and obtainingits PID
Message ID:
4BE2F018.1070103@evolutionce.com
I need to rerun an external process every 5 minutes and destroy the old one.

The only way I can think of doing that is by running the external
process, not waiting for its output, obtaining the PID, and then
sleeping for 5 minutes before killing the process.

What might be the best way of doing either?

-- 
Mike A. Leonetti
As warm as green tea


Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About