Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit acd4d34

Browse files
committed
More quoted paths
1 parent a50c1c5 commit acd4d34

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/OutputProcessors/ProcessManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public void RunCommandLineWindow(NPath workingDirectory)
8383

8484
var envVars = startInfo.EnvironmentVariables;
8585
var scriptContents = new[] {
86-
$"cd {envVars["GHU_WORKINGDIR"]}",
86+
$"cd \"{envVars["GHU_WORKINGDIR"]}\"",
8787
$"PATH=\"{envVars["GHU_FULLPATH"]}\":$PATH /bin/bash"
8888
};
8989
environment.FileSystem.WriteAllLines(envVarFile, scriptContents);

0 commit comments

Comments
 (0)