The stupid question is the question not asked | |
PerlMonks |
Cheapest way for multiple external commandsby pedrete (Sexton) |
on Jan 24, 2020 at 19:10 UTC ( [id://11111835]=perlquestion: print w/replies, xml ) | Need Help?? |
pedrete has asked for the wisdom of the Perl Monks concerning the following question: Hi Monks... i need to run many externals commands from my Perl script and capture both return-code and STDOUT. These commands must run under a shell... To my knowledge, Perl always does a fork and then waits for the child to run the command, am i right? Is there any way to prevent that "fork"? i am looking for the "cheapest way" in terms of CPU and Memory load... THX!!! Pedreter.
Back to
Seekers of Perl Wisdom
|
|