in reply to Re^5: Nonblocking commands in Windows
in thread Nonblocking commands in Windows
$| = 1; open(JAVA, "java_command_stuff |") or die ...; while(<JAVA>){ my $line = $_; print "$line<br>\n"; } close JAVA;
After which I close out the html tags and the script ends.
I tried switching the header to text/plain but still don't get any output until task is complete.
Just an FYI, most all of the tests this runs, will complete in just a matter of seconds. There is just one pesky test case here that is running for so long, but I would like to be able to handle more 'long duration' cases in the future so I'm trying to work this out now...
thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Nonblocking commands in Windows
by BrowserUk (Patriarch) on Aug 06, 2007 at 18:25 UTC |