Quote .dme path in OD compiler command line

This commit is contained in:
Jordan Dominion
2023-10-15 00:00:06 -04:00
parent 692c2f60a6
commit 1416f1817f
@@ -89,6 +89,6 @@ namespace Tgstation.Server.Host.Components.Engine
/// <inheritdoc />
public string FormatCompilerArguments(string dmePath)
=> $"--suppress-unimplemented --notices-enabled {dmePath ?? throw new ArgumentNullException(nameof(dmePath))}";
=> $"--suppress-unimplemented --notices-enabled \"{dmePath ?? throw new ArgumentNullException(nameof(dmePath))}\"";
}
}