Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Run Java Program in Background with Exec Problem

Status
Not open for further replies.

namida

Programmer
May 29, 2003
101
AU
Hi all,

I'm trying to execute a java program (very long duration process program) and I want PHP not to wait for it to finish.

I tried this
<?
$exMe = system('/opt/j2sdk1.4.2_01/bin/java -cp /projects/web/dewi Looping &');
print "finish";
?>

but it still hangs ,
anyone knows how ?
Thanks before
Dewi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top