in reply to Re^2: open2() in Windows
in thread open2() in Windows
This should flush the pipes everytime right because im setting $| to something greater than zero? Thus, the pipes should never be full?$|++; open2(READ,WRITE,program); for (1..6000) { print WRITE $cmd; while (<READ>) { if (/blah/) { do something; } else { do another thing; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: open2() in Windows
by BrowserUk (Patriarch) on Jul 23, 2007 at 17:28 UTC | |
by bhaveshbp (Initiate) on Jul 23, 2007 at 17:42 UTC | |
by BrowserUk (Patriarch) on Jul 23, 2007 at 17:53 UTC | |
by bhaveshbp (Initiate) on Jul 23, 2007 at 17:59 UTC | |
by BrowserUk (Patriarch) on Jul 23, 2007 at 18:12 UTC |