Table of Contents

Method StartCommandAsync

Namespace
Oscova.Agents.Toolsets
Assembly
Oscova.Agents.dll

StartCommandAsync(string, CancellationToken)

Launches a shell command in the background and returns a job id immediately.

[ToolNetworkScope(NetworkScope.Incidental)]
public Task<object> StartCommandAsync(string command, CancellationToken cancellationToken = default)

Parameters

command string
cancellationToken CancellationToken

Returns

Task<object>