Skip to content

Commit 72e5678

Browse files
committed
Quote the wrapper
1 parent 103974d commit 72e5678

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hlsBinaries.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ async function getProjectGhcVersion(
125125
// We execute the command in a shell for windows, to allow use .cmd or .bat scripts
126126
const childProcess = child_process
127127
.execFile(
128-
wrapper,
128+
getGithubOS() === 'Windows' ? `"${wrapper}"` : wrapper,
129129
args,
130130
{ encoding: 'utf8', cwd: dir, shell: getGithubOS() === 'Windows' },
131131
(err, stdout, stderr) => {

0 commit comments

Comments
 (0)