Table of Contents

Method PrepareCommandAsync

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

PrepareCommandAsync(string, string?, CancellationToken)

Checks the original command and resolves a per-call working directory on the executing device.

Task<string> PrepareCommandAsync(string command, string? workdir, CancellationToken cancellationToken = default)

Parameters

command string
workdir string?
cancellationToken CancellationToken

Returns

Task<string>