Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re^2: How can I run a piece of code asyncronously in Perl?

by Anonymous Monk
on Nov 03, 2012 at 19:04 UTC ( #1002134=note: print w/ replies, xml ) Need Help??


in reply to Re: How can I run a piece of code asyncronously in Perl?
in thread How can I run a piece of code asyncronously in Perl?

This TIMTOWTDI is probably better than the other WTDI. But I'd like to make it clear to the OP that exec() takes a list, so therefore:

exec 't1.pl', $arg1, $arg2, $arg3;

(Well, better in the sense that I cringe whenever something goes through sh -c when not absolutely necessary. It is very easy to introduce a bug that way.)


Comment on Re^2: How can I run a piece of code asyncronously in Perl?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-07-07 11:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (88 votes), past polls