Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: eval leaving processess behind

by leonidlm (Pilgrim)
on Nov 09, 2008 at 21:10 UTC ( [id://722523]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2026-03-17 00:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.