After 72d4587 content emitted by qjs (via console.log/print etc. ) to stdout fails to reach a receiver through a pipe or other process reading from its stdout on Windows 10.
For example, if we run the following inside cmd.exe
qjs -e "print(1);"
will print 1
qjs -e "print(1);" | cat
will not output anything.
Similar issue can be seen with qjs launched as a process and some other program reads its output.
After 72d4587 content emitted by qjs (via console.log/print etc. ) to stdout fails to reach a receiver through a pipe or other process reading from its stdout on Windows 10.
For example, if we run the following inside cmd.exe
qjs -e "print(1);"will print 1
qjs -e "print(1);" | catwill not output anything.
Similar issue can be seen with qjs launched as a process and some other program reads its output.