develooper Front page | perl.perl5.porters | Postings from June 2008

RE: This Week on perl5-porters - 1-6 June 2008

Thread Previous | Thread Next
Jan Dubois
June 16, 2008 16:27
RE: This Week on perl5-porters - 1-6 June 2008
Message ID:
On Sat, 14 Jun 2008, David Landgren wrote:
> This Week on perl5-porters - 1-6 June 2008
> "File::Temp" and unsafe shell characters (#50146)
>    Ed Avis failed to see why anyone still used of "system" when
>    "IPC::Run" was so much nicer.
>      'coz it ain't core?

There are other reasons too, at least on MSWin32: IPC::Run is rather
inefficient, starting additional helper processes for each redirected

In addition to being somewhat slow (which most of the time may not
be an issue), these helper processes want to execute $^X, which may
not even be available if you are running a Perl program packaged
into a self-contained executable with PAR/PerlApp/Perl2Exe.

Therefore IPC::Run isn't really the generic system() replacement.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About