How to stop nant exec task putting ( ) around command line
Posted
by Sam
on Stack Overflow
See other posts from Stack Overflow
or by Sam
Published on 2010-04-14T18:09:14Z
Indexed on
2010/04/14
18:13 UTC
Read the original article
Hit count: 401
I have looked through the nant documentation and sourceforge faq and can't find the answer to this question. The exec task in nant puts ( ) around the command line parameters it generates, so for example this task below would generate:
mallow ( -1 )
<exec program="${build.tools.wix}\mallow.exe"
workingdir="${build.out.xxx}">
<arg value="-1" />
</exec>
The other open source tool I'm using - mallow - cannot handle this.
Does anyone know of a way to stop nant putting the ( ) around the arguments?
Thanks.
© Stack Overflow or respective owner