|We don't bite newbies here... much|
Is there a problem with IPC::Open on Windows 7?by glasswalk3r (Friar)
|on Aug 06, 2013 at 19:53 UTC||Need Help??|
glasswalk3r has asked for the
wisdom of the Perl Monks concerning the following question:
I was trying to use IPC::Open3 in a Windows 7 but I was getting the complaint below:readline() on unopened filehandle
I found it intriguing since if I use the same program to fork a child process with IPC::Open2 it works as expected. Seems to be that STDERR is not being assigned as it would be expected.
To be sure, I wrote the two following scripts for testing:
And called it "dummy.pl".
Then I wrote:
After executing it, this is what I got:
It looks like a bug, doesn't it?
I'm using Windows 7 Service Pack 1 with:
Alceu Rodrigues de Freitas Junior
"You have enemies? Good. That means you've stood up for something, sometime in your life." - Sir Winston Churchill