in reply to Re: Problem with monitoring running tasks
in thread Problem with monitoring running tasks

I have tried debugging it, but the script forks off copies of itself and I really need to debug the forked copy. Is there some way to do that?

  • Comment on Re^2: Problem with monitoring running tasks

Replies are listed 'Best First'.
Re^3: Problem with monitoring running tasks
by perlron (Pilgrim) on Oct 23, 2014 at 23:31 UTC
    this is not strictly a perl experience i can say i have had, but are you certain that the forked process which runs in the background can be terminated by your approach.
    u might have to start from scratch and check if a running process terminates via your script after the time alloted to it.
    then check back with a working script how to enhance it as per your requirement. Cheers. also check Debugging Perl scripts which use fork()