Otter SDK Reference
Version:

ExecuteCommandLineAsync(IOperationExecutionContext 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(IOperationExecutionContext context, Inedo.Agents.RemoteProcessStartInfo startInfo)

Parameters

context
Type: IOperationExecutionContext

The execution context.

startInfo
Type: Inedo.Agents.RemoteProcessStartInfo

The process start info.

Returns

Exit code of the process.