Crosstales.Common.Util.CTProcess Class Reference

Native process class for standalone IL2CPP-builds (mimicking the missing "System.Diagnostics.Process"-class with the most important properties, methods and events). More...

Inheritance diagram for Crosstales.Common.Util.CTProcess:

Public Member Functions

void BeginOutputReadLine ()
 
void BeginErrorReadLine ()
 
void Start (CTProcessStartInfo info)
 Starts the process resource that is specified by the parameter containing process start information (for example, the file name of the process to start) and associates the resource with a new Process component.. More...
 
void Start ()
 Starts (or reuses) the process resource that is specified by the StartInfo property of this Process component and associates it with the component. More...
 
void Kill ()
 Immediately stops the associated process. More...
 
void WaitForExit (int milliseconds=0)
 
void Dispose ()
 
void Start ()
 Starts (or reuses) the process resource that is specified by the StartInfo property of this Process component and associates it with the component. More...
 
void Kill ()
 Immediately stops the associated process. More...
 
void WaitForExit (int milliseconds=0)
 
void Dispose ()
 

Public Attributes

uint ExitCode => _exitCode
 Gets the value that the associated process specified when it terminated. More...
 

Properties

System.IntPtr Handle [get]
 Gets the native handle of the associated process. More...
 
int Id [get]
 Gets the unique identifier for the associated process. More...
 
CTProcessStartInfo StartInfo [get, set]
 Gets or sets the properties to pass to the Start() method of the Process. More...
 
bool HasExited [get]
 Gets a value indicating whether the associated process has been terminated. More...
 
System.DateTime StartTime [get]
 Gets the time that the associated process was started. More...
 
System.DateTime ExitTime [get]
 Gets the time that the associated process exited. More...
 
System.IO.StreamReader StandardOutput [get]
 Gets a stream used to read the textual output of the application. More...
 
System.IO.StreamReader StandardError [get]
 Gets a stream used to read the error output of the application. More...
 
bool isBusy [get]
 Gets a value indicating whether the associated process has been busy. More...
 

Events

System.EventHandler Exited
 
System.Diagnostics.DataReceivedEventHandler OutputDataReceived
 
System.Diagnostics.DataReceivedEventHandler ErrorDataReceived
 

Detailed Description

Native process class for standalone IL2CPP-builds (mimicking the missing "System.Diagnostics.Process"-class with the most important properties, methods and events).

Member Function Documentation

◆ Kill() [1/2]

void Crosstales.Common.Util.CTProcess.Kill ( )

Immediately stops the associated process.

◆ Kill() [2/2]

void Crosstales.Common.Util.CTProcess.Kill ( )

Immediately stops the associated process.

◆ Start() [1/3]

void Crosstales.Common.Util.CTProcess.Start ( )

Starts (or reuses) the process resource that is specified by the StartInfo property of this Process component and associates it with the component.

◆ Start() [2/3]

void Crosstales.Common.Util.CTProcess.Start ( )

Starts (or reuses) the process resource that is specified by the StartInfo property of this Process component and associates it with the component.

◆ Start() [3/3]

void Crosstales.Common.Util.CTProcess.Start ( CTProcessStartInfo  info)

Starts the process resource that is specified by the parameter containing process start information (for example, the file name of the process to start) and associates the resource with a new Process component..

Member Data Documentation

◆ ExitCode

uint Crosstales.Common.Util.CTProcess.ExitCode => _exitCode

Gets the value that the associated process specified when it terminated.

Property Documentation

◆ ExitTime

System.DateTime Crosstales.Common.Util.CTProcess.ExitTime
get

Gets the time that the associated process exited.

◆ Handle

System.IntPtr Crosstales.Common.Util.CTProcess.Handle
get

Gets the native handle of the associated process.

◆ HasExited

bool Crosstales.Common.Util.CTProcess.HasExited
get

Gets a value indicating whether the associated process has been terminated.

◆ Id

int Crosstales.Common.Util.CTProcess.Id
get

Gets the unique identifier for the associated process.

◆ isBusy

bool Crosstales.Common.Util.CTProcess.isBusy
get

Gets a value indicating whether the associated process has been busy.

◆ StandardError

System.IO.StreamReader Crosstales.Common.Util.CTProcess.StandardError
get

Gets a stream used to read the error output of the application.

◆ StandardOutput

System.IO.StreamReader Crosstales.Common.Util.CTProcess.StandardOutput
get

Gets a stream used to read the textual output of the application.

◆ StartInfo

CTProcessStartInfo Crosstales.Common.Util.CTProcess.StartInfo
getset

Gets or sets the properties to pass to the Start() method of the Process.

◆ StartTime

System.DateTime Crosstales.Common.Util.CTProcess.StartTime
get

Gets the time that the associated process was started.


The documentation for this class was generated from the following file:
  • C:/Users/slaub/Unity/assets/RTVoice/RTVoicePro/Assets/Plugins/crosstales/Common/Extras/CTProcess/Scripts/CTProcess.cs