tgstation-server 5.12.7
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IProcessExecutor.cs
Go to the documentation of this file.
1using System.Threading.Tasks;
2
4{
9 {
20 Task<IProcess> LaunchProcess(
21 string fileName,
22 string workingDirectory,
23 string arguments = null,
24 string fileRedirect = null,
25 bool readStandardHandles = false,
26 bool noShellExecute = false);
27
33
40
47 }
48}
Task< IProcess > LaunchProcess(string fileName, string workingDirectory, string arguments=null, string fileRedirect=null, bool readStandardHandles=false, bool noShellExecute=false)
Launch a IProcess.
IProcess GetProcessByName(string name)
Get a IProcess with a given name .
IProcess GetProcess(int id)
Get a IProcess by id .
IProcess GetCurrentProcess()
Get a IProcess representing the running executable.
Abstraction over a global::System.Diagnostics.Process.
Definition: IProcess.cs:11