tgstation-server
5.12.7
The /tg/station 13 server suite
Loading...
Searching...
No Matches
src
Tgstation.Server.Host
System
IProcessExecutor.cs
Go to the documentation of this file.
1
using
System.Threading.Tasks;
2
3
namespace
Tgstation.Server.Host.System
4
{
8
interface
IProcessExecutor
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
32
IProcess
GetCurrentProcess
();
33
39
IProcess
GetProcess
(
int
id
);
40
46
IProcess
GetProcessByName
(
string
name);
47
}
48
}
Tgstation.Server.Host.System.IProcessExecutor
For launching IProcess'.
Definition:
IProcessExecutor.cs:9
Tgstation.Server.Host.System.IProcessExecutor.LaunchProcess
Task< IProcess > LaunchProcess(string fileName, string workingDirectory, string arguments=null, string fileRedirect=null, bool readStandardHandles=false, bool noShellExecute=false)
Launch a IProcess.
Tgstation.Server.Host.System.IProcessExecutor.GetProcessByName
IProcess GetProcessByName(string name)
Get a IProcess with a given name .
Tgstation.Server.Host.System.IProcessExecutor.GetProcess
IProcess GetProcess(int id)
Get a IProcess by id .
Tgstation.Server.Host.System.IProcessExecutor.GetCurrentProcess
IProcess GetCurrentProcess()
Get a IProcess representing the running executable.
Tgstation.Server.Host.System.IProcess
Abstraction over a global::System.Diagnostics.Process.
Definition:
IProcess.cs:11
Tgstation.Server.Host.System
Definition:
AssemblyInformationProvider.cs:8
Generated by
1.9.5