ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 7330] - exec writes stderr into output
Date Thu, 21 Mar 2002 19:25:49 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7330>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7330

exec writes stderr into output





------- Additional Comments From holtdl@yahoo.com  2002-03-21 19:25 -------
Use:
        <exec dir="." executable="sh" output="p.out">
          <arg line='-c "/usr/bin/perl p.pl 2&gt; p.err"'/>
        </exec>

Or /dev/null if you don't want to capture stderr -- but you probably should, in 
case there really are errors. Which is why I don't think 'output' should, by 
default, only contain stdout -- but I think leaving 'output' as both, and 
introducing two new (boolean) attrs, 'stdout' and 'stderr', might be reasonable 
(maybe an 'append' as well, so the same output file can be used to capture more 
than one command's output). Would you agree this bug should be changed to an 
Enhancement severity?

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


Mime
View raw message