title: NodeJs, how to get full STDERR message displayed?
body: <p>please help me how I can get full error string (to pass in res.send()) from process? For example in console now I getting printed:</p>
  
  <pre><code>Child Process STDERR: src/sketch.ino: In function ‘void setup()’:
  src/sketch.ino:17:11: error: ‘led’ was not declared in this scope
  src/sketch.ino: In function ‘void loop()’:
  src/sketch.ino:23:15: error: ‘led’ was not declared in this scope
  make: *** [.build/atmega328/src/sketch.o] Error 1
  </code></pre>
  
  <p>But when i pass <strong>res.send('Error:\n'+ stderr);</strong>, I get printed only <strong>"Error: src/sketch.ino: In function ‘voi"</strong>. Why it cuts message? And how to pass full one?</p>
  
  <p>This is my code:</p>
  
  <pre><code>var exec = require('child_process').exec;
  
  var inoVerify = exec('ino build -m atmega328', { cwd: codeFile.projectPath }, function(error, stdout, stderr) {
      console.log('Child Process STDERR: '+ stderr);
      if (stderr)
          res.send('Error:\n'+ stderr);                   
  });
  </code></pre>