The parameter data of process.stdin.read() in async mode is undefined in fibjs src "test\process\exec.parallel_stdin.js"
Closed this issue · 1 comments
forchid commented
fibjs v0.36.0, and windows 10.
D:\code\fibjs\fibjs-src-v0.36.0\test\process>fibjs exec.parallel_stdin.js
12345
abc
D:\code\fibjs\fibjs-src-v0.36.0\test\process\exec.parallel_stdin.js:5:21
str += data.toString();
^
TypeError: Cannot read properties of undefined (reading 'toString')
at D:\code\fibjs\fibjs-src-v0.36.0\test\process\exec.parallel_stdin.js:5:21