This commit is contained in:
ZephyrTFA
2024-08-18 04:17:19 -04:00
parent 8fd017faa4
commit e070306b09
+5 -3
View File
@@ -2,11 +2,13 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using InteropServices = System.Runtime.InteropServices;
using Process = System.Diagnostics.Process;
using Tgstation.Server.Host.Common;
using Tgstation.Server.Host.Core;
using Tgstation.Server.Host.Properties;
@@ -68,7 +70,7 @@ namespace Tgstation.Server.Host
args = listArgs.ToArray();
}
if(System.Runtime.InteropServices.RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
if(InteropServices.RuntimeInformation.IsOSPlatform(InteropServices.OSPlatform.Linux))
{
var proc = new Process
{
@@ -78,7 +80,7 @@ namespace Tgstation.Server.Host
Arguments = "-u",
UseShellExecute = false,
RedirectStandardOutput = true,
CreateNoWindow = true
CreateNoWindow = true,
}
};
proc.Start();