Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Runs a host-native process with the context’s frozen compiler and SDK selection.

API: engine
Project: Inno.Build.Toolchains

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

Parameter context: A context resolved by NativeToolchainSelection before artifact fingerprinting.

Parameter fileName: A selected build command or an absolute executable declared as a component input.

Parameter arguments: Individual arguments passed without shell interpretation.

Parameter workingDirectory: The source snapshot or intermediate directory owned by the operation.

Parameter cancellationToken: Cancels and retires the complete process tree.

Completion after successful exit and complete output delivery.

Exception T:System.InvalidOperationException: Host tools were not resolved, a command is unavailable or a process fails.

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