in reply to Safe cross-platform command execution and capture of STDOUT & STDERR

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 .

  • Comment on Re: Safe cross-platform command execution and capture of STDOUT & STDERR