擅长:python、mysql、java
<p>如果要在nodejs中写入标准输入/输出(stdin/stoud),可以使用<a href="https://nodejs.org/api/process.html" rel="nofollow noreferrer">process</a>对象<a href="https://nodejs.org/api/process.html#process_process_stdin" rel="nofollow noreferrer">stdin</a>(可读流)和{a3}(可写流)属性。在</p>
<p>示例:</p>
<pre><code>process.stdout.write('my output');
</code></pre>