Hi,

When I try to use a pipe or redirecting arrow in the exec task, I get a
failure saying the program I executed has the wrong number of arguments.
Here's what it looks like within my script:

        <exec program="p4.exe" commandline="label -o DevTemplate | sed
-e "s/DevTemplate/dev01/g" | p4.exe label -i" />

I get the same failure no matter what program I am using; it isn't
unique to my "p4.exe" program.  If I type the following into a command
prompt, everything works just fine:

        p4 label -o DevTemplate | sed -e "s/DevTemplate/dev01/g" | p4
label -i

So, how can I translate the above line into NAnt without resorting to a
batch file?

Thank you,
Erin


-------------------------------------------------------------------------
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
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to