Zero Install .NET API  2.21.0
ZeroInstall.Client.IProcessLauncher Interface Reference

Launches an external process. More...

Inheritance diagram for ZeroInstall.Client.IProcessLauncher:
ZeroInstall.Client.ProcessLauncher

Public Member Functions

Process Start (params string[] args)
 Starts a new Process and runs it in parallel with this one. More...
 
int Run (params string[] args)
 Starts a new Process and waits for it to complete. More...
 

Detailed Description

Launches an external process.

Member Function Documentation

◆ Run()

int ZeroInstall.Client.IProcessLauncher.Run ( params string[]  args)

Starts a new Process and waits for it to complete.

Returns
The exit code of the child process.
Exceptions
IOExceptionThere was a problem launching the executable.
FileNotFoundExceptionThe executable file could not be found.
NotAdminExceptionThe target process requires elevation.

Implemented in ZeroInstall.Client.ProcessLauncher.

◆ Start()

Process ZeroInstall.Client.IProcessLauncher.Start ( params string[]  args)

Starts a new Process and runs it in parallel with this one.

Returns
The newly launched process.
Exceptions
IOExceptionThere was a problem launching the executable.
FileNotFoundExceptionThe executable file could not be found.
NotAdminExceptionThe target process requires elevation.

Implemented in ZeroInstall.Client.ProcessLauncher.


The documentation for this interface was generated from the following file: