fix refreshc breaking on file paths with spaces

remotes/1695145649051507776/main
cosmonaut 2023-07-03 15:35:11 -07:00
parent c3a5d9f417
commit 4f412b5c15
1 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ partial class Program
{
Process glslc = Process.Start(
"glslc",
$"{glslPath} -o {outputPath}"
$"""{glslPath}"" -o ""{outputPath}"""
);
glslc.WaitForExit();
if (glslc.ExitCode != 0)
@ -254,7 +254,7 @@ partial class Program
{
Process spirvcross = Process.Start(
"spirv-cross",
$"{spirvPath} --hlsl --shader-model 50 --output {outputPath}"
$"""{spirvPath}"" --hlsl --shader-model 50 --output ""{outputPath}"""
);
spirvcross.WaitForExit();
if (spirvcross.ExitCode != 0)