execute in the background using system
Posted: Thu Jun 16, 2005 5:53 am
Hi everybody
I am trying to execute a java programme in my php script.
I am using system("java foo"); but the script halts. I have also tried to redirect the output of the java programme using system("java foo > test.txt"); the script doesn;t halt but the java programme is not executed. I have also tried system("java foo &"); but the script still halts.
Can anybody propose any solution?
Thanks in advance
I am trying to execute a java programme in my php script.
I am using system("java foo"); but the script halts. I have also tried to redirect the output of the java programme using system("java foo > test.txt"); the script doesn;t halt but the java programme is not executed. I have also tried system("java foo &"); but the script still halts.
Can anybody propose any solution?
Thanks in advance