tgstation-server  4.4.0
The /tg/station 13 server suite
IProcess.cs
Go to the documentation of this file.
1 using System.Threading;
2 using System.Threading.Tasks;
3 
4 namespace Tgstation.Server.Host.System
5 {
9  interface IProcess : IProcessBase
10  {
14  int Id { get; }
15 
19  Task Startup { get; }
20 
25  string GetErrorOutput();
26 
31  string GetStandardOutput();
32 
37  string GetCombinedOutput();
38 
42  void Terminate();
43 
49  Task<string> GetExecutingUsername(CancellationToken cancellationToken);
50  }
51 }
Abstraction over a global::System.Diagnostics.Process
Definition: IProcess.cs:9
Represents process lifetime
Definition: IProcessBase.cs:10