ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject Re: cvs commit: ant/docs/manual/CoreTasks exec.html
Date Tue, 29 Jul 2003 09:19:47 GMT


> On Tue, 29 Jul 2003, Conor MacNeill <conor@cortexebusiness.com.au>
> wrote:
>
> >> (2) the spawned process to be stoped or even killed by the system
> >> (at least Unix) as soon as it tries to write to stdout or stderr
> >> (probably either with SIGTTOU, SIGPIPE or SIGHUP).
> >
> > Why not just "caveat user" :-)
>
> AFAIU the current implementation will ignore the error/output
> attributes, which means that the user may think everything is fine
> even if it isn't.
>
We can add a throw new BuildException in case one of the attributes which
are not supported for spawn is used together with spawn (all the
input/output/error/result properties).
This is the simplest way to handle it.

Antoine



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message