Skip to content

Commit

Permalink
Added spawn { shell: true } because of Node 22 security changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jvanoostveen committed May 6, 2024
1 parent ef1786d commit 2b47e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/taskrunner.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export function createDefaultTaskRunner(): TaskRunner {
loggerCategory,
`running command ${readableCommand} ${args.join(" ")}`
);
let task = spawn(command, args);
let task = spawn(command, args, { shell: true });

let stdout = createInterface({ input: task.stdout });
stdout.on("line", (line) => {
Expand Down

0 comments on commit 2b47e10

Please sign in to comment.