I am working on window platform and am usuing open3 to read from process and write to it only after polling its o/p, but the problem is that sometime the process doesnt flush its o/p in my $read variable ( if its not stdout) , causing my program to loop infinitly, is there any library like comm.pl or ptty in window which could solve my problem? could i achieve it using win32::console module.