Re: Execute#getExitCode doesn't work as advertised

2003-09-18 Thread Martijn Kruithof
Hi Well fair enough, it is recognizable as the exit value will in that case be Integer.MAX_VALUE, so that should not be an issue. (So far for the non-hardcoded values) Thanks, Martijn Stefan Bodewig wrote: On Wed, 17 Sep 2003, Martijn Kruithof <[EMAIL PROTECTED]> wrote: regarding option 1 would

Re: Execute#getExitCode doesn't work as advertised

2003-09-18 Thread Stefan Bodewig
On Wed, 17 Sep 2003, Martijn Kruithof <[EMAIL PROTECTED]> wrote: > regarding option 1 wouldn't this still need a patch to set > killedProcess() to true Hmm, only if it has been the watchdog that has killed the process IMHO. If the InterruptedException has been raised for any other reason, we sho

Re: Execute#getExitCode doesn't work as advertised

2003-09-17 Thread Martijn Kruithof
Hi, actually your new solution was my first approach which I left because of this documentation, regarding option 1 wouldn't this still need a patch to set killedProcess() to true (i know horrible way to say what I mean, but this should be clear) when destroy is called via the InterruptedExcepti