Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Parallel::ForkManager and system "command",@args;

by tirwhan (Abbot)
on Jan 13, 2006 at 16:27 UTC ( [id://523021]=note: print w/replies, xml ) Need Help??


in reply to Parallel::ForkManager and system "command",@args;

You mean fork off x children and then call an external process from each of them with system()? That may not be the most efficient way of solving the task at hand (depending on what exactly your task is), but I can't see any problems with this approach. Be sure to pass command arguments to system in an array so that you don't spawn a shell for every program you start.


There are ten types of people: those that understand binary and those that don't.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (2)
As of 2024-04-25 20:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found