BuildMaster SDK Reference
Version:

ExecuteCommandLine(string fileName, string arguments) 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)

Parameters

fileName
Type: string

Full path of the process to start.

arguments
Type: string

Arguments to pass to the process.

Returns

Exit code of the process.