From c562bf5562feec77a44e69b3c0ce39d704672d85 Mon Sep 17 00:00:00 2001 From: sis0k0 Date: Wed, 12 Jul 2017 11:14:58 +0300 Subject: [PATCH] fix(ns-bundle): remove command escaping when spawning child process fixes #214 --- bin/ns-bundle | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/ns-bundle b/bin/ns-bundle index 98e72989..0095af86 100644 --- a/bin/ns-bundle +++ b/bin/ns-bundle @@ -211,9 +211,8 @@ function getCommand(flags) { function spawnChildProcess(command, ...args) { return new Promise((resolve, reject) => { const escapedArgs = args.map(escapeWithQuotes) - const escapedCommand = escapeWithQuotes(command) - const childProcess = spawn(escapedCommand, escapedArgs, { + const childProcess = spawn(command, escapedArgs, { stdio: "inherit", pwd: PROJECT_DIR, shell: true,