title: Use child_process.execSync but keep output in console
body: <p>I'd like to use the <code>execSync</code> method which was added in NodeJS 0.12 but still have the output in the console window from which i ran the Node script.</p>
  
  <p>E.g. if I run a NodeJS script which has the following line I'd like to see the full output of the rsync command "live" inside the console:</p>
  
  <pre><code>require('child_process').execSync('rsync -avAXz --info=progress2 "/src" "/dest"');
  </code></pre>
  
  <p>I understand that <code>execSync</code> returns the ouput of the command and that I could print that to the console after execution but this way I don't have "live" output...</p>