Robert Smith wrote:
> Instead of trying to pipe, would something like this work (with regard
> to the structure of teh exec task) with each of the aruments as an arg
> value?
>
> <exec program="ISCmdBld" append="true"
> output="${logfile}" verbose="true" >
> <arg value="-p
> "${WorkDirInstallShield}\FileName_Install.ism"" />
> <arg value="-a "FileName_Install"" />
> <arg value="-c "Release 1"" />
> </exec>
This isn't right, and not just because it doesn't solve the pipe
problem. The value= attribute to <arg> takes a single command line
argument. Command line arguments are separated by spaces, and quotes
are eaten by the shell, not passed to the program. So it would need to be:
<arg value="-p" />
<arg file="${WorkDirInstallShield}\FileName_Install.ism" />
<arg value="-a" />
<arg value="FileName_Install" />
<arg value="-c" />
<arg value="Release 1" />
Gary
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
NAnt-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users