mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
Always start the deamon using node
This commit is contained in:
parent
1c3fcb83b6
commit
f68f4448d8
@ -223,7 +223,7 @@ Client.prototype.launchDaemon = function(opts, cb) {
|
||||
|
||||
Common.printOut(that.conf.PREFIX_MSG + 'Spawning PM2 daemon with pm2_home=' + this.pm2_home);
|
||||
|
||||
var child = require('child_process').spawn(process.execPath || 'node', node_args, {
|
||||
var child = require('child_process').spawn('node', node_args, {
|
||||
detached : true,
|
||||
cwd : that.conf.cwd || process.cwd(),
|
||||
env : util._extend({
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user