Skip to content
Browse files

- External monitors use bash instead of sh which does a better job cl…

…eaning up child processes on exit.

- Update minified nodeload.js
  • Loading branch information...
1 parent 6773d66 commit 1cc1bd702434bf827dc22a6b86fd34201fcd2049 @jonjlee jonjlee committed Jan 30, 2012
Showing with 6 additions and 6 deletions.
  1. +1 −1 lib/reporting/external.js
  2. +5 −5 nodeload.js
View
2 lib/reporting/external.js
@@ -68,7 +68,7 @@ var monitorProcess = exports.monitorProcess = function(options) {
};
var format = options.dataFormatter || valuesToNumber;
- var proc = child_process.spawn('/bin/sh', ['-c', options.command], options.spawnOptions),
+ var proc = child_process.spawn('/bin/bash', ['-c', options.command], options.spawnOptions),
lr = new util.LineReader(proc.stdout);
lr.on('data', function (line) {
View
10 nodeload.js
5 additions, 5 deletions not shown because the diff is too large. Please use a local Git client to view these changes.

0 comments on commit 1cc1bd7

Please sign in to comment.
Something went wrong with that request. Please try again.