RE: Regarding exec task

2012-02-08 Thread Adam Bruss
: Wednesday, February 08, 2012 10:18 AM To: Ant Users List Subject: Re: Regarding exec task This sounds good, but won't it kill processes that wasn't started by my script too? From: Adam Bruss To: Ant Users List ; Vimil Saju Sent: Wednesday, February 8,

Re: Regarding exec task

2012-02-08 Thread Vimil Saju
This sounds good, but won't it kill processes that wasn't started by my script too? From: Adam Bruss To: Ant Users List ; Vimil Saju Sent: Wednesday, February 8, 2012 6:34 AM Subject: RE: Regarding exec task Set failonerror=false on the parent

RE: Regarding exec task

2012-02-08 Thread Adam Bruss
Set failonerror=false on the parent tasks. Get the return code. If return code not 0 then call a common target which executes your own personal "kill-zombie-processes" task and then fails the build using . "kill-zombie-processes" kills all possible still running child processes. You need to kno