ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Execute#getExitCode doesn't work as advertised
Date Wed, 17 Sep 2003 08:37:41 GMT
Martijn Kruithof raised this issue in his patch for PR 23150.

The javadocs say 

     * @return the exit value, 1 if the process was killed,

but in fact, it doesn't do anything special for a killed process.

Rather than "fixing" this method, I'd like to remove the comment.
For two reasons

(1) Execute#killedProcess can always be consulted

(2) more important to me - 1 means success on OpenVMS, so any hard
    coded constant here would be wrong IMHO.



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

View raw message