How to read child_process.spawnSync stdout with stdio option 'inherit'
<pre><code>var childProcess = cp.spawnSync(command, args, {
    cwd: process.cwd(),
    env: process.env,
    stdio: 'inherit',
    encoding: 'utf-8'
});
</code></pre>

<p>childProcess.output always eq [null, null, null]</p>

<p>process.stdout.write hook doesn't give me any output</p>