Skip to content

Commit

Permalink
pm2@3.2.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Jan 17, 2019
1 parent 9c49fad commit 71457f0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
@@ -1,4 +1,8 @@

## 3.2.9 (17/01/19)

- #4128 fix: force detached process

## 3.2.6-8 (11/01/19)

- rollback: node bin path handling adaptation
Expand Down
3 changes: 2 additions & 1 deletion lib/Client.js
Expand Up @@ -245,6 +245,7 @@ Client.prototype.launchDaemon = function(opts, cb) {
interpreter = process.execPath;

var child = require('child_process').spawn(interpreter, node_args, {
detached : true,
cwd : that.conf.cwd || process.cwd(),
env : util._extend({
'SILENT' : that.conf.DEBUG ? !that.conf.DEBUG : true,
Expand All @@ -258,7 +259,7 @@ Client.prototype.launchDaemon = function(opts, cb) {
return cb ? cb(e.message || e) : false;
}

child.on('error', onError);
child.once('error', onError);

child.unref();

Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "pm2",
"preferGlobal": true,
"version": "3.2.8",
"version": "3.2.9",
"engines": {
"node": ">=4.0.0"
},
Expand Down

0 comments on commit 71457f0

Please sign in to comment.