Skip to main content

UpdateExe.Start Method

Declaring Type: UpdateExe
Namespace: Velopack
Assembly: Velopack
Assembly Version: 0.0.1298+ed8600e

Runs Update.exe in the current working directory with the 'start' command which will simply start the application. Combined with the `waitForExit` parameter, this can be used to gracefully restart the application.

public static void Start(IVelopackLocator locator = null, uint waitPid = 0, [Nullable(Mono.Cecil.CustomAttributeArgument[])]string[] startArgs = null);

Parameters

locator IVelopackLocator

The locator to use to find the path to Update.exe and the packages directory.

waitPid uint

Optionally wait for the specified process to exit before continuing.

startArgs string[]

The arguments to pass to the application when it is restarted.


Documentation generated by MdDocs