We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 246bc5f commit 22b58c8Copy full SHA for 22b58c8
lib/supervisor.js
@@ -111,7 +111,7 @@ function startProgram (prog, exec) {
111
var child = exports.child = spawn(exec, [prog]);
112
child.stdout.addListener("data", function (chunk) { chunk && sys.print(chunk) });
113
child.stderr.addListener("data", function (chunk) { chunk && sys.debug(chunk) });
114
- child.addListener("exit", function () { startProgram(prog) });
+ child.addListener("exit", function () { startProgram(prog, exec) });
115
}
116
117
var timer = null, counter = -1, mtime = null;
0 commit comments