1
0
Fork 0
mirror of https://github.com/beefytech/Beef.git synced 2025-06-08 11:38:21 +02:00

Handle spaces in paths in WasmLaunch

This commit is contained in:
Brian Fiete 2024-10-24 06:27:24 -04:00
parent 35271626aa
commit f2489f3b93
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ class Program
ProcessStartInfo procInfo = scope ProcessStartInfo();
procInfo.UseShellExecute = false;
procInfo.SetFileName(exePath);
procInfo.SetArguments(scope $"{Process.CurrentId} {htmlPath}");
procInfo.SetArguments(scope $"{Process.CurrentId} \"{htmlPath}\"");
procInfo.ActivateWindow = false;
var process = scope SpawnedProcess();

View file

@ -12307,7 +12307,7 @@ namespace IDE
if (launchPath.EndsWith(".html"))
{
arguments.Set(launchPath);
arguments.Set(scope $"\"{launchPath}\"");
launchPath.Set(scope $"{gApp.mInstallDir}/WasmLaunch.exe");
}