in reply to Re^4: Interactive IO with IO::Pipe on Win32
in thread Interactive IO with IO::Pipe on Win32

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.


Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
Lingua non convalesco, consenesco et abolesco. -- Rule 1 has a caveat! -- Who broke the cabal?
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.