ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antoine Levy-Lambert" <anto...@antbuild.com>
Subject exec with spawn="true"
Date Mon, 04 Aug 2003 11:22:37 GMT
There were several suggestions to improve exec with spawn="true" with a Java wrapper which
would do the pumping of stdout/stderr.

Please feel free to proceed and improve the behavior of exec with spawn="true".

I have seen that if you start jboss via bat file on Windows, if you do not redirect stdout
to NUL jboss dies.

This was working for me :

<exec executable="cmd.exe" spawn="true">
<arg value="/C"/>
<arg value="C:/projects/xpetstore-jdo/jboss/bin/run.bat"/>
<arg value=">NUL"/>
</exec>

Cheers,

Antoine


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message