bhaveshbp has asked for the
wisdom of the Perl Monks concerning the following question:
I am in the process or porting a program written to work in Unix to run in Windows. At one point in the program it uses open2() to communicate with another program. The problem is in Windows the program hangs at random times after writing to the write pipe. By random times I mean, the program writes to the write pipe inside of a for loop and the program hangs at different iterations of the loop everytime after writing to the write pipe. The program just hangs and I get no error message and I have to manually kill the program. I dont see this issue when I run the program in Unix. I was thinking its somekind of Windows buffer issue because the loop executes thousands of times. Anyone got any ideas?