in reply to Re^7: Is there a problem with IPC::Open on Windows 7?
in thread Is there a problem with IPC::Open on Windows 7?
Here is one implementation which I based mine: https://github.com/lucastheisen/ipc-open3-callback
Okay. That makes more sense than your original description -- though I see how you arrived at that description.
Essentially, they are doing the same thing as Win32::SocketPairopen2() and Win32::SocketPairopen2_5() (original author:salva), in that they are redirecting the outputs from the commands via socket pairs, which are selectable.
I'm like the idea of IPC::Open3::Callback. It is a very clever way to address both the problems with IPC::Open3.
However, as it stands, it steals both the pid of the subprocess, and the stdin; which make it less useful than it could be. I can see myself stealing the idea of the callbacks and producing my own version that corrects for those. (Assuming the author doesn't modify his interface before sending it to cpan :)
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^9: Is there a problem with IPC::Open on Windows 7?
by glasswalk3r (Friar) on Aug 13, 2013 at 16:44 UTC | |
by BrowserUk (Patriarch) on Aug 13, 2013 at 18:52 UTC | |
by glasswalk3r (Friar) on Aug 14, 2013 at 17:47 UTC | |
by BrowserUk (Patriarch) on Aug 14, 2013 at 18:27 UTC | |
by glasswalk3r (Friar) on Aug 15, 2013 at 12:09 UTC | |
|