Skip to content
API referenceDevelopmentEngine APIEngine ccf7d03f
Synced
  • Runs one build command without taking ownership of the caller’s cancellation source.

API: engine
Project: Inno.Build.Cli

public static System.Threading.Tasks.Task<int> Inno.Build.Cli.BuildApplication.Run(string[] arguments, System.Threading.CancellationToken cancellationToken)

Parameter arguments: The command and its documented options; help prints the supported command names.

Parameter cancellationToken: Cancels owned work and preserves completed publications according to their pipeline contracts.

Zero on success, two on cancellation, or one on a command or execution failure.

Exception T:System.ArgumentNullException: The argument array is absent.