diff --git a/src/Tgstation.Server.Host/System/ProcessExecutor.cs b/src/Tgstation.Server.Host/System/ProcessExecutor.cs index 874fd461c9..0512cb9a46 100644 --- a/src/Tgstation.Server.Host/System/ProcessExecutor.cs +++ b/src/Tgstation.Server.Host/System/ProcessExecutor.cs @@ -201,6 +201,9 @@ namespace Tgstation.Server.Host.System bool outputOpen = true, errorOpen = true; async Task GetNextLine() { +#if NET7_0_OR_GREATER +#error ReadLineAsync supports cancellation now +#endif if (outputOpen && outputReadTask == null) outputReadTask = stdOutHandle.ReadLineAsync();