in reply to nonblocking char reads from OUTPUT stream from open3
ReadKey supposes that the filehandle refers to a terminal (TTY), not to a pipe (which is what Open3 gives you).
The error you reported means (more or less): what you gave me is not a terminal, can't do anything with it.
Try setting autoflush(1) on the filehandle.
-- dakkar - Mobilis in mobile
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: nonblocking char reads from OUTPUT stream from open3
by Eradicatore (Monk) on Dec 14, 2002 at 23:07 UTC | |
by dakkar (Hermit) on Dec 16, 2002 at 17:18 UTC |
In Section
Seekers of Perl Wisdom