We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7509dc7 commit 6d025cbCopy full SHA for 6d025cb
lib/sub-process.ts
@@ -4,7 +4,7 @@ import { quoteAll } from 'shescape/stateless';
4
export function execute(
5
command: string,
6
args: string[] = [],
7
- options?: { cwd?: string }
+ options?: { cwd?: string },
8
): Promise<string> {
9
const spawnOptions: {
10
shell: boolean;
@@ -14,7 +14,7 @@ export function execute(
14
spawnOptions.cwd = options.cwd;
15
}
16
17
- args = quoteAll(args, spawnOptions);
+ args = quoteAll(args, { ...spawnOptions, flagProtection: false });
18
19
return new Promise((resolve, reject) => {
20
let stdout = '';
0 commit comments