Re: nohup and Ant question

2011-01-11 Thread dfreis
had the same issue with nohup and a forked java task. The problem was that the input of the forked java task was still taken from the console and the java task was hanging. Adding input="/dev/null" to my java task solved the problem! -- View this message in context: http://ant.1045680.n5.nabble

RE: nohup and Ant question

2008-01-28 Thread Barry Pape
tting rexec to work and went back to exec. -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Monday, January 28, 2008 3:23 PM To: Ant Users List Subject: Re: nohup and Ant question Barry It's a little complicated for me in that solution. Do you have a simpler one ? Will i

Re: nohup and Ant question

2008-01-28 Thread Z W
Barry It's a little complicated for me in that solution. Do you have a simpler one ? Will it work for as opposed to ? Thanks

RE: nohup and Ant question

2008-01-28 Thread Barry Pape
Sounds similar to the issue I just had. The solution that worked for me came from here: http://marc.info/?l=ant-user&m=100621497023872&w=2 -Original Message- From: Z W [mailto:[EMAIL PROTECTED] Sent: Friday, January 25, 2008 3:25 PM To: Ant Users List Subject: Re: nohup

Re: nohup and Ant question

2008-01-25 Thread Z W
Hi Chuck Appreciate your response. I'm using Ant 1.7 on Windows. I'm pretty sure it's an ANT issue that doesn't deal well with nohup. Is there a workaround with Ant. Running the unix script directly, the pid is found; not a shell script issue.

Re: nohup and Ant question

2008-01-25 Thread Chuck Holzwarth
You may have several problems here. Both nohup commands start asynchronous processes that don't end when the connection is broken and you may end up with zombies running. Both nohup commands write to nohup.out with the second one probably overwriting the same file. You can do this on Unix/Luni