Share via


ProcessLauncher Class

Definition

Starts the specified process with associated arguments, if any.

public ref class ProcessLauncher abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.System.SystemManagementContract, 131072)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ProcessLauncher final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.System.SystemManagementContract), 131072)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class ProcessLauncher
Public Class ProcessLauncher
Inheritance
Object Platform::Object IInspectable ProcessLauncher
Attributes

Windows requirements

Device family
Windows IoT Extension SDK (introduced in 10.0.10586.0)
API contract
Windows.System.SystemManagementContract (introduced in v2.0)
App capabilities
systemManagement

Remarks

This API requires the use of the IoT systemManagement capability. Users can add the following to their Package.appmanifest: <iot:Capability Name="systemManagement"/>

Methods

RunToCompletionAsync(String, String, ProcessLauncherOptions)

Launches a new process, including the specified options. This asynchronous function completes when the launched process terminates.

RunToCompletionAsync(String, String)

Launches a new process. This asynchronous function completes when the launched process terminates.

Applies to