From what I understand, calling IO::Pipe::reader with an argument causes a child process to be forked and the command to be exec'd within that child process. So even if the child process is blocking for input, that shouldn't block the parent process - unless this is a limitation of fork emulation on Win32.
So my questions are:
use IO::Pipe; use warnings; use strict; my $cmd = shift || "pause"; my $pipe = new IO::Pipe; $pipe->reader($cmd); print while (<$pipe>); __END__
In reply to Interactive IO with IO::Pipe on Win32 by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |