ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: exec task and linux
Date Mon, 19 Jan 2004 20:46:51 GMT
On Mon, 19 Jan 2004, Daniel Zapata <dzapata@bea.com> wrote:

> The linux <exec/> task sometimes blocks unless we redirect the
> stdout and stderr to a file or /dev/nul.

It will probably also work if you capture the output in a property.

> We use the exec task in many places and we are not crazy about the
> idea of modifying everywhere that we call exec to do this redirect.

Ant 1.6 and <presetdef> are your friend then.

Stefan
-- 
http://stefanbodewig.blogger.de/

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


Mime
View raw message