Skip to content

Commit 12596b6

Browse files
feat: try shell true
1 parent 824aa5a commit 12596b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/cmd.utils.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export const spawn = async ({
2020
silentErrors?: boolean;
2121
}): Promise<number | null> => {
2222
return await new Promise<number | null>((resolve, reject) => {
23-
const process: ChildProcessWithoutNullStreams = spawnCommand(command, args);
23+
const process: ChildProcessWithoutNullStreams = spawnCommand(command, args, { shell: true });
2424

2525
process.stdout.on('data', (data) => {
2626
if (stdout !== null && stdout !== undefined) {

0 commit comments

Comments
 (0)