Otter SDK Reference
Version:

ExecuteCommandLineAsync(IRemoteOperationExecutionContext context, Inedo.Agents.RemoteProcessStartInfo startInfo) Method

Executes the specified process asychronously and writes process output to the operation's log.

Syntax

protected Task<int> ExecuteCommandLineAsync(IRemoteOperationExecutionContext context, Inedo.Agents.RemoteProcessStartInfo startInfo)

Parameters

context
Type: IRemoteOperationExecutionContext

The execution context.

startInfo
Type: Inedo.Agents.RemoteProcessStartInfo

The process start info.

Returns

Exit code of the process.