in reply to various questions about Win32::Process

You could use Win32::Socketpair::winopen2_5()

#! perl -slw use strict; use Win32::Socketpair qw[ winopen2_5 ]; ( $pid, $sock ) = winopen2_5( 'perl.exe', q[-E"say 'hello'; warn; die; +"] ); shutdown $sock, 1; print while <$sock>; close $sock; __END__ C:\test>winopen2_5 Warning: something's wrong at -e line 1. Died at -e line 1. hello

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.