C# Class LitDev.LDProcess

显示文件 Open project: litdev1/LitDev

Public Methods

Method Description
GetProcesses ( ) : Primitive

Get a list of system processes.

Start ( Primitive application, Primitive arguments ) : Primitive

Start an external application.

Stop ( Primitive ID ) : Primitive

Stop an external process.

Method Details

GetProcesses() public static method

Get a list of system processes.
public static GetProcesses ( ) : Primitive
return Primitive

Start() public static method

Start an external application.
public static Start ( Primitive application, Primitive arguments ) : Primitive
application Primitive /// The full path of the application to start e.g. "C:\Program Files (x86)\Microsoft\Small Basic\SB.exe". ///
arguments Primitive /// Arguments to give to the command or "" if none. ///
return Primitive

Stop() public static method

Stop an external process.
public static Stop ( Primitive ID ) : Primitive
ID Primitive /// The process ID to stop. ///
return Primitive