I guess I'll have to read from the pipe with sysread or something like it.
If you succeed in getting that to work please come back and post a sample.
I looked at the source of tee and it just uses (C) read() from stdin, and it seems to be able to read and echo the prompt in a timely fashion, but regardless of what I tried from perl (binmode :raw; read() or sysread()), I couldn't get it to work.
In reply to Re^5: Interactive IO with IO::Pipe on Win32
by BrowserUk
in thread Interactive IO with IO::Pipe on Win32
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |