Page 1 of 1

execute in the background using system

Posted: Thu Jun 16, 2005 5:53 am
by nikosft
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

Posted: Thu Jun 16, 2005 6:29 am
by Syranide
Try reading one of the 5 recent posts, I just answered to this question.