in reply to Win32 Perl: inheriting redirected STDIN and STDOUT in a child process
While I'm not really advocating that you outright use IPC::Run, maybe you can use the techniques employed by it to do its task? It doesn't allow for interactivity, but for displaying the output, I'd redirect the output to a file and then use File::Tail in the parent process to read the output. If you want "real", select()-interactivity, using a named pipe (\\.\pipe\mypipe) or a network socket would be my approach.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Win32 Perl: inheriting redirected STDIN and STDOUT in a child process
by BrowserUk (Patriarch) on Oct 22, 2008 at 18:18 UTC | |
by tye (Sage) on Oct 22, 2008 at 18:49 UTC | |
by TGI (Parson) on Oct 23, 2008 at 16:32 UTC | |
by BrowserUk (Patriarch) on Oct 23, 2008 at 17:36 UTC |