Skip to content

Commit

Permalink
Listen to spawn error.
Browse files Browse the repository at this point in the history
  • Loading branch information
RubenVerborgh committed Nov 7, 2018
1 parent 32e99bf commit 43e7f16
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/eye.js
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ var eyePrototype = Eye.prototype = {

// start EYE
eye = (self.spawn || spawn)(self.eyePath, args);
eye.on('error', callback);

// capture stdout
var output = "";
Expand Down

0 comments on commit 43e7f16

Please sign in to comment.