diff --git a/src/Tgstation.Server.Host/Core/Process.cs b/src/Tgstation.Server.Host/Core/Process.cs index edca9f0516..45750daeaa 100644 --- a/src/Tgstation.Server.Host/Core/Process.cs +++ b/src/Tgstation.Server.Host/Core/Process.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using System.Text; using System.Threading.Tasks; @@ -8,11 +7,13 @@ namespace Tgstation.Server.Host.Core /// sealed class Process : IProcess { - + /// public int Id { get; } + /// public Task Startup { get; } + /// public Task Lifetime { get; } readonly System.Diagnostics.Process handle; @@ -41,8 +42,10 @@ namespace Tgstation.Server.Host.Core }, default, TaskCreationOptions.LongRunning, TaskScheduler.Current); } + /// public void Dispose() => handle.Dispose(); + /// public string GetCombinedOutput() { if (combinedStringBuilder == null) @@ -50,6 +53,7 @@ namespace Tgstation.Server.Host.Core return combinedStringBuilder.ToString(); } + /// public string GetErrorOutput() { if (errorStringBuilder == null) @@ -57,6 +61,7 @@ namespace Tgstation.Server.Host.Core return errorStringBuilder.ToString(); } + /// public string GetStandardOutput() { if (outputStringBuilder == null) @@ -64,6 +69,7 @@ namespace Tgstation.Server.Host.Core return errorStringBuilder.ToString(); } + /// public void Terminate() { try