"be consistent" | |
PerlMonks |
Re: Safe cross-platform command execution and capture of STDOUT & STDERRby secret (Beadle) |
on Nov 25, 2005 at 15:05 UTC ( [id://511683]=note: print w/replies, xml ) | Need Help?? |
I think that what i would do is test for the platform in a consistent way ( Sys::Hostname ) and branch the program in two cases depending on the result. This way you can use the windows way of redirecting STD* which is Win32::Job .
In Section
Seekers of Perl Wisdom
|
|