in reply to How can I redirect Windows command line output into a PerlTk frame

The problem is that Tk is designed to use fileevent (like select) to read filehandles, and Windows dosn't do fileevent on pipes, only sockets. So you may want to try running your command with IPC::Run.

See: Please suggest a non-forking way to do this (OS: windows) and Perl/Tk App and Interprocess Communication and Tk GUI and Listen? for more ideas about this topic.


I'm not really a human, but I play one on earth My Petition to the Great Cosmic Conciousness
  • Comment on Re: How can I redirect Windows command line output into a PerlTk frame