BuildMaster SDK Reference
Version:

ExecuteCommandLine(string fileName, string arguments, string workingDirectory) Method

Executes a process on the associated agent, blocking until the process terminates, the action is canceled, or the action timeout is reached.

Syntax

protected int ExecuteCommandLine(string fileName, string arguments, string workingDirectory)

Parameters

fileName
Type: string

Full path of the process to start.

arguments
Type: string

Arguments to pass to the process.

workingDirectory
Type: string

Initial working directory of the process. If not specified, the source directory is used.

Returns

Exit code of the process.