Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
exec task and linux

exec task and linux

2004-01-19       - By Daniel Zapata
Reply:     1     2  

We recently ported our product to linux and are finding a very serious
problem with the <exec/> task behavior as opposed to windows and
solaris.

The linux <exec/> task sometimes blocks unless we redirect the stdout
and stderr to a file or /dev/nul.  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.  The same build code works on windows and
solaris without this random hanging problem.  Has anyone else
experienced this problem?

Any ideas/fixes would be greatly appreciated.

Thanks,
Danny



©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.