Skip to content

Commit

Permalink
fix: spawn and inherit io
Browse files Browse the repository at this point in the history
  • Loading branch information
agoldis committed Mar 28, 2021
1 parent 01697f6 commit 7273f9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/patch.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@ exports.patch = function () {
fs.writeFileSync(configFilePath, yaml.dump(doc));

const [node, script, ...rest] = process.argv;
cp.fork(cliBinPath, [...rest], { detached: true });
cp.spawn(cliBinPath, [...rest], { stdio: 'inherit' });
});
};

0 comments on commit 7273f9d

Please sign in to comment.