good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re: system() and output redirect (IPC::Run3, Capture::Tiny, shellquote)by Anonymous Monk |
on Mar 14, 2014 at 07:44 UTC ( [id://1078299]=note: print w/replies, xml ) | Need Help?? |
However, I don't know how to use ">file" in the second mode Hi llancet shell functionality is handled by the shell :) unless your program handles it so to safely use the shell you might try String::ShellQuote , Win32::ShellQuote, Proc::Background, system_detached or to handle it from your program you might try Capture::Tiny, IPC::Run3,
In Section
Seekers of Perl Wisdom
|
|