in reply to Is there a problem with IPC::Open on Windows 7?
It's not broken, and it's not Windows-specific. Passing undef for the third arg has a special meaning. This is covered in the first paragraph of the documentation, which refers to the Synopsis for how to achieve what you want.
Note that you have a deadlock potential in your code. While the parent is blocked reading from the child's STDOUT, the child could block trying to write to its STDERR. I strongly discourage the use of this low-level module if you plan on reading from both the child's STDOUT and its STDERR. Instead, try IPC::Run3 or IPC::Run.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there a problem with IPC::Open on Windows 7?
by glasswalk3r (Friar) on Aug 12, 2013 at 18:04 UTC | |
|
Re^2: Is there a problem with IPC::Open on Windows 7?
by BrowserUk (Patriarch) on Aug 08, 2013 at 04:42 UTC | |
by ikegami (Patriarch) on Aug 10, 2013 at 19:53 UTC | |
by BrowserUk (Patriarch) on Aug 11, 2013 at 05:03 UTC | |
by glasswalk3r (Friar) on Aug 12, 2013 at 18:07 UTC | |
by BrowserUk (Patriarch) on Aug 12, 2013 at 18:39 UTC | |
|