Executing a Program and Passing Arguments

Jan 23, 2014 at 7:33 PM
I'm converting a NANT script and I identified a section that runs an EXE and passes arguments to perform an action. Currently I am using the InvokeProcess to execute the existing NANT script on the build server, and I would like to implement a permanent solution that removes NANT completely from the process.
Does anyone have a recommendation on an Activity that will allow me to perform the following action using TFS2012 WF instead of writing this out to an MSBuild script?

NAnt Example
<exec program="MyCustomConsole.exe"
    base dir="${MyProjectDir}" 
<arg value="-p" />
<arg value="${MyProjectDir}\${MyProjectName}" />
<arg value="-o" />
<echo message="My Program Has Completed" /> 
Jan 27, 2014 at 5:55 PM
Decided to work with the existing NAnt script, due to all of the other options would require executing a script outside of the WorkFlow.
Marked as answer by DRBrown on 1/27/2014 at 10:55 AM