Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Runs a quoted host command with a frozen compiler and SDK environment.

API: engine
Project: Inno.Build.Toolchains

public static System.Threading.Tasks.Task Inno.Build.Toolchains.ToolchainEnvironment.RunAsync(Inno.Build.Toolchains.NativeBuildContext context, string fileName, string arguments, string workingDirectory, System.Threading.CancellationToken cancellationToken)

Parameter context: The context resolved before artifact fingerprinting.

Parameter fileName: A selected command or an absolute executable declared in the component inputs.

Parameter arguments: Arguments quoted for the selected executable’s command-line parser.

Parameter workingDirectory: The operation’s source snapshot or intermediate directory.

Parameter cancellationToken: Cancels and retires the complete process tree.

Completion after the command exits successfully and its streams drain.

Exception T:System.InvalidOperationException: Tools are unresolved or execution fails.

Exception T:System.OperationCanceledException: The operation was canceled.