Skip to content

Commit

Permalink
bugfix : install module doesnt work unless we start the child process…
Browse files Browse the repository at this point in the history
… into a shell on Windows
  • Loading branch information
vmarchaud committed Jul 5, 2016
1 parent 4c0ce92 commit 3b75c46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/CLI/Modules/Modularizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3b75c46

Please sign in to comment.