-
Notifications
You must be signed in to change notification settings - Fork 739
Closed
Labels
execIssues specific to the shell.exec() APIIssues specific to the shell.exec() API
Description
Node version (or tell us if you're using electron or some other framework):
10.9.0
ShellJS version (the most recent version/Github branch you see the bug on):
0.8.2
Operating system:
Windows 10
Description of the bug:
With the version 6 of NPM, shell.exec('npm pack') or shell.exec('npm publish') became painfully slow.
Example ShellJS command to reproduce the error:
console.time('execution-time');
if (shell.exec(`npm pack`).code !== 0) {
process.exit(-1);
}
console.timeEnd('shell.exec(\'npm pack\')'); // shell.exec('npm pack'): 189658.260ms
Metadata
Metadata
Assignees
Labels
execIssues specific to the shell.exec() APIIssues specific to the shell.exec() API