diff --git a/index.js b/index.js index 2f31691..e4e732c 100644 --- a/index.js +++ b/index.js @@ -55,7 +55,7 @@ module.exports = (files, options) => { const result = make(files, options); const stdio = result.isTerminalEditor ? 'inherit' : 'ignore'; - const subProcess = childProcess.spawn(result.bin, result.arguments, { + const subProcess = childProcess.spawn(result.binary, result.arguments, { detached: true, stdio });