Skip to content

Commit

Permalink
shell true for spawn calls
Browse files Browse the repository at this point in the history
  • Loading branch information
dcdenu4 committed Nov 15, 2024
1 parent 8f91ed2 commit 033b98f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workbench/src/main/setupAddRemovePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const logger = getLogger(__filename.split('/').slice(-1)[0]);
*/
function spawnWithLogging(cmd, args, options) {
logger.info(cmd, args);
const cmdProcess = spawn(cmd, args, { ...options, windowsHide: true });
const cmdProcess = spawn(cmd, args, { ...options, shell: true, windowsHide: true });
if (cmdProcess.stdout) {
cmdProcess.stderr.on('data', (data) => logger.info(data.toString()));
cmdProcess.stdout.on('data', (data) => logger.info(data.toString()));
Expand Down

0 comments on commit 033b98f

Please sign in to comment.