We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9511b7 commit ca25feaCopy full SHA for ca25fea
1 file changed
Gulpfile.ts
@@ -69,7 +69,7 @@ function exec(cmd: string, args: string[], complete: () => void = (() => {}), er
69
console.log(`${cmd} ${args.join(" ")}`);
70
// TODO (weswig): Update child_process types to add windowsVerbatimArguments to the type definition
71
const subshellFlag = isWin ? "/c" : "-c";
72
- const command = isWin ? [cmd, ...args] : [`${cmd} ${args.join(' ')}`];
+ const command = isWin ? [cmd, ...args] : [`${cmd} ${args.join(" ")}`];
73
const ex = cp.spawn(isWin ? "cmd" : "/bin/sh", [subshellFlag, ...command], { stdio: "inherit", windowsVerbatimArguments: true } as any);
74
ex.on("exit", (code) => code === 0 ? complete() : error(/*e*/ undefined, code));
75
ex.on("error", error);
0 commit comments