From af7d8dc4cbe5b023c3530b00ab88d62beacd3d84 Mon Sep 17 00:00:00 2001 From: __mk_km__ Date: Sat, 23 Mar 2024 13:37:02 +0500 Subject: [PATCH] Enable 'shell' option in spawn --- plugin.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin.js b/plugin.js index 37c4678..fd87c3b 100644 --- a/plugin.js +++ b/plugin.js @@ -237,6 +237,7 @@ function spawnWasmPack({ outDir, outName, isDebug, cwd, args, extraArgs }) { function runProcess(bin, args, options) { return new Promise((resolve, reject) => { + options['shell'] = true const p = spawn(bin, args, options) p.on('close', (code) => {