ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] ExecuteWatchdog
Date Wed, 31 Jan 2001 14:54:33 GMT
Stephane Bailliez <sbailliez@imediation.com> wrote:

> Considering what you said I believe this a return code problem
> between Linux and Windows...but obviously here it should not be 0,
> right ?

Why? From the Javadoc of Process.exitValue() (JDK 1.2):

>> the exit value of the subprocess represented by this Process
>> object. by convention, the value 0 indicates normal termination.

This could mean that it should be non-0 for abnormal termination, but
"by convention" is not really strong enough. Seems as if the contract
of that method was not well defined.

> This indicates a bug in my code anyway.

going to fix that.

Stefan

Mime
View raw message