mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
bugfix : install module doesnt work unless we start the child process into a shell on Windows
This commit is contained in:
parent
4c0ce92547
commit
3b75c46cdb
@ -112,7 +112,8 @@ function installModule(CLI, module_name, cb) {
|
||||
'install', module_name, '--prefix', cst.PM2_ROOT_PATH, '--loglevel=error'
|
||||
],{
|
||||
stdio : 'inherit',
|
||||
async : true
|
||||
async : true,
|
||||
shell : cst.IS_WINDOWS
|
||||
});
|
||||
|
||||
install_instance.on('close', finalize);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user