mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-24 13:36:50 +01:00
Fix a message
This commit is contained in:
@@ -125,13 +125,19 @@ namespace Tgstation.Server.Host.System
|
||||
if (!noShellExecute && readStandardHandles)
|
||||
throw new InvalidOperationException("Requesting output/error reading requires noShellExecute to be true!");
|
||||
|
||||
logger.LogDebug(
|
||||
noShellExecute
|
||||
? "Launching process in {workingDirectory}: {exe} {arguments}"
|
||||
: "Shell launching process in {workingDirectory}: {exe} {arguments}",
|
||||
if (noShellExecute)
|
||||
logger.LogDebug(
|
||||
"Launching process in {workingDirectory}: {exe} {arguments}",
|
||||
workingDirectory,
|
||||
fileName,
|
||||
arguments);
|
||||
else
|
||||
logger.LogDebug(
|
||||
"Shell launching process in {workingDirectory}: {exe} {arguments}",
|
||||
workingDirectory,
|
||||
fileName,
|
||||
arguments);
|
||||
|
||||
var handle = new global::System.Diagnostics.Process();
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user