<exec program="foo.exe">
  <arg value="-x"/>
   <arg value="c:\somefolder"/>
  <arg value="-option"/>
   <arg value="&quot;M&quot;"/>
</exec>

Try that.

Adam Bruss
Development Engineer
AWR Corporation/Simulation Technology & Applied Research
11520 N. Port Washington Rd., Suite 201
Mequon, WI  53092  USA
P: 1.262.240.0291 x104
F: 1.262.240.0294
E: abr...@awrcorp.com
W: http://www.awrcorp.com

From: Chris Fouts [mailto:chris.fo...@caemilusa.com]
Sent: Friday, April 29, 2011 8:28 AM
To: nant-users@lists.sourceforge.net
Subject: [NAnt-users] Help with <exec>

How can I "" as part of my <arg> in an <exec>? For example..

<exec program="foo.exe" commandline='-x">
   <arg value="c:\somefolder -option "M""/>
</exec>

IOW, I want to execute the following command

C:\foo.exe -x c:\somefolder -option "M"

-chris



***This e-mail message is intended only for the above named recipient(s)
and may contain information that is sensitive or proprietary. If you have
received this message in error or are not the named recipient(s), please
immediately notify the sender, delete this e-mail message without making
a copy and do not disclose or relay this e-mail message to anyone.***
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to