Skip to content

Commit

Permalink
[fix] Use process.execPath for spawning.
Browse files Browse the repository at this point in the history
  • Loading branch information
AvianFlu committed Jun 28, 2012
1 parent 4ed1beb commit a5343df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/forever/monitor.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ var Monitor = exports.Monitor = function (script, options) {
// Setup the command to spawn and the options to pass
// to that command.
//
this.command = options.command || 'node';
this.command = options.command || process.execPath;
this.args = options.options || [];
this.spawnWith = options.spawnWith || {};
this.sourceDir = options.sourceDir;
Expand Down

0 comments on commit a5343df

Please sign in to comment.