If you need to hook STDIN & STDOUT for an external process, and that external process cooperates, then Win32::SocketPair is a neat solution...which is why I suggested it to you.
But spawning an entire process just to get command line input from the user is complicated overkill. A single thread and queue work very nicely for that.
In reply to Re^3: Non Blocking input on Win32 platforms
by BrowserUk
in thread Non Blocking input on Win32 platforms
by MisterH
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |