in reply to Re: eval leaving processess behind
in thread eval leaving processess behind

Very nice, thank you.
But is there a more "elegant way" of doing this ? In your solution I will fork another perl instance for each task, I am not sure it is the most efficient solution.

Replies are listed 'Best First'.
Re^3: eval leaving processess behind
by ikegami (Patriarch) on Nov 09, 2008 at 21:27 UTC

    q{perl -e'sleep 60*60'} was just the command I used for testing. You'd continue to use the same command as before. I've altered the post execute $cmd as your snippet did.

      Ohh sorry, my bad. Thank you again.