tgstation-server 6.12.0
The /tg/station 13 server suite
Loading...
Searching...
No Matches
IProcess.cs
Go to the documentation of this file.
1using System;
2using System.Threading;
3using System.Threading.Tasks;
4
6{
11 {
15 int Id { get; }
16
20 Task Startup { get; }
21
31 Task<string?> GetCombinedOutput(CancellationToken cancellationToken);
32
37 void Terminate();
38
44 }
45}
Abstraction over a global::System.Diagnostics.Process.
Definition IProcess.cs:11
Task Startup
The Task representing the time until the IProcess becomes "idle".
Definition IProcess.cs:20
void Terminate()
Asycnhronously terminates the process.
string GetExecutingUsername()
Get the name of the account executing the IProcess.
Task< string?> GetCombinedOutput(CancellationToken cancellationToken)
Get the stderr and stdout output of the IProcess.