ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grenner Daniel <>
Subject RE: antRunAsync and getting a background process to run indefinit ely
Date Thu, 17 Apr 2003 07:18:17 GMT
Try using "nohup java > output.txt &" in the shell script instead.
Without the redirection to output.txt the output is redirected to

/Daniel Grenner.

-----Original Message-----
From: Melissa Hao []
Sent: den 17 april 2003 01:26
Subject: antRunAsync and getting a background process to run


I'm having trouble getting the antRunAsync workaround to work exactly the
way I want.

I use antRunAsync to run a shell script called  The shell script is
started asynchronously, which is great.  The shell script spawns a java
process in the background (eg, "java &").  I would like this java
process to continue running after the ant process completes.  Currently, the
java process stops when the ant process stops.  Is there any way to get the
java process to run indefinitely?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message