Re: exec command not using args element
"Hahn, Christopher (SAN DIEGO)" <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <92606B0A2E9C0D418FECE7F5B393756C5B6CA06F64@GVW0432EXB.americas.hpqcorp.net> |
Do you need to use the /c flag for cmd? From: Adam Bruss [mailto:[email protected]] Sent: Friday, November 12, 2010 12:41 PM To: [email protected] Subject: [Cruisecontrol-user] exec command not using args element I'm running cc from the windows executable installer on Win 7. I'm trying to create a sub directory in my temp directory in a schedule block. <schedule interval="30"> <exec command="cmd.exe" workingdir="c:/temp" args="mkdir foobar" /> </schedule> The directory does not get created. Here is part of the log from the dashboard. - <build time="0 minute(s) 0 second(s)"> - <target name="exec"> - <task name="cmd.exe"> - <message priority="info"> - <![CDATA[ Microsoft Windows [Version 6.1.7600] ]]> </message> + <message priority="info"> - <![CDATA[ Copyright (c) 2009 Microsoft Corporation. All rights reserved. ]]> </message> - <message priority="info"> - <![CDATA[ c:\temp> ]]> </message> </task> </target> </build> It looks like cmd.exe gets run without using the args element. How do I get it to use my args? Thanks, Adam 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: [email protected] W: http://www.awrcorp.com ------------------------------------------------------------------------------ Centralized Desktop Delivery: Dell and VMware Reference Architecture Simplifying enterprise desktop deployment and management using Dell EqualLogic storage and VMware View: A highly scalable, end-to-end client virtualization framework. Read more! http://p.sf.net/sfu/dell-eql-dev2dev _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user