BuildMaster SDK Reference
Version:

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

Executes a command line process on the provider's agent.

Syntax

protected ProviderBase.ProcessResults ExecuteCommandLine(string fileName, string arguments, string workingDirectory)

Parameters

fileName
Type: string

The file name of the process to execute.

arguments
Type: string

The arguments to pass to the process.

workingDirectory
Type: string

The working directory of the process.

Returns

Results of the process.

Exceptions

System.ArgumentNullException

fileName is null (Nothing in Visual Basic) or empty.