Re: Keeping a process alive..

2007-05-04 Thread Tom Phoenix
On 5/4/07, Steve Pittman <[EMAIL PROTECTED]> wrote: I would be interested in a reference for PID monitoring for cases where we have more that one *identical* spawned process to consider* Maybe you want something like POE? http://search.cpan.org/author/RCAPUTO/POE-0.9989/lib/POE.pm But her

Re: Keeping a process alive..

2007-05-04 Thread Steve Pittman
Tom, Yes this works for my problem*your solution is quick and eloquent*thanks* I would be interested in a reference for PID monitoring for cases where we have more that one *identical* spawned process to consider* Thanks, Steve >>> Tom Phoenix <[EMAIL PROTECTED]> 4/26/2007 6:01 PM >>> On 4/26/

Re: Keeping a process alive..

2007-04-26 Thread Tom Phoenix
On 4/26/07, Steve Pittman <[EMAIL PROTECTED]> wrote: I want to spawn a kornshell script Well, nobody's perfect. - track the PID - and restart the script if the PID is destroyed. Can anyone point me to a Perl reference for this? Do you really need to track the PID? while (1) { # resta