ToolTask.ExecuteTool(String, String, String) ToolTask.ExecuteTool(String, String, String) ToolTask.ExecuteTool(String, String, String) ToolTask.ExecuteTool(String, String, String) Method

Definition

Creates a temporary response (.rsp) file and runs the executable file.

protected:
 virtual int ExecuteTool(System::String ^ pathToTool, System::String ^ responseFileCommands, System::String ^ commandLineCommands);
protected virtual int ExecuteTool (string pathToTool, string responseFileCommands, string commandLineCommands);
abstract member ExecuteTool : string * string * string -> int
override this.ExecuteTool : string * string * string -> int
Protected Overridable Function ExecuteTool (pathToTool As String, responseFileCommands As String, commandLineCommands As String) As Integer

Parameters

pathToTool
String String String String

The path to the executable file.

responseFileCommands
String String String String

The command line arguments to place in the .rsp file.

commandLineCommands
String String String String

The command line arguments to pass directly to the executable file.

Returns

The returned exit code of the executable file. If the task logged errors, but the executable returned an exit code of 0, this method returns -1.

Applies to