Commit ece23594 authored by shangbj's avatar shangbj

update

parent 68cbda2c
console.log('___', process.stdin)
\ No newline at end of file
console.log('___', process.stdin)
process.stdin.on('readable', () => {
let chunk;
// 使用循环确保我们读取所有的可用数据。
while ((chunk = process.stdin.read()) !== null) {
console.log('++++', chunk)
}
});
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment