Hello,
Here is my problem:
I am trying to read the output of the php executable. For files that produce small output everything is OK. But when the output gets bigger my
java app freezes, waiting for ever. So, I wonder is there a limit to the ammount the stremas can read?
Here is a sample code :
**** test.php ****
[phpcode] echo "Hello World"; [/phpcode]
********************
**** info.php ******
[phpcode]
// Show all information, defaults to INFO_ALL
phpinfo();
[/phpcode]
********************
In the above example, for test.php the program finishes without a problem and I get the correct output. For info.php, the program freezes (obviously it waits for ever at "p.waitFor()". If I press Ctrl+C I see that it has read something like 4000 characters and stopped there.
Any clues?
Tnx,
Tom.
[ November 03, 2003: Message edited by: Tom Diamond ]
[ November 03, 2003: Message edited by: Tom Diamond ]