posted 13 years ago
Hi,
I have a jar file which does some process and print the output to the console. This file needs to be called from PHP and the output in the Console also to be captured.
When tried directly in the command line, the Jar file works fine and prints the output to the console.
I have tried with the exec, but its not working.
The output to this is just '0 0'
Should something else be done to call the jar file??
Posted in Stackoverflow.com also. will post here once I get an answer.
Thanks in Advance.....