ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Davies" <aaron.dav...@gmail.com>
Subject Re: Capturing Output of a Spawned Java Process?
Date Fri, 23 Jun 2006 16:53:11 GMT
Well why not? I'm looking through the Execute code, and it looks like
ant deliberately throws away the output of a spawned process. What's
the design philosophy behind this?

On 6/23/06, Dominique Devienne <ddevienne@gmail.com> wrote:
> I don't think it is. Unless you spawn a shell that executes your
> command, doing the redirection. --DD
>
> On 6/23/06, Aaron Davies <aaron.davies@gmail.com> wrote:
> > Is it possible to capture the stdout and stderr of a spawned Java
> > process (i.e. a <java spawn="true" ... />)? It's rather hard to debug
> > without that.
> > --
> > Aaron Davies
> > aaron.davies@gmail.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>


-- 
Aaron Davies
aaron.davies@gmail.com

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


Mime
View raw message