on linux, cat bigfile.json ends prematurely #1765
Labels
backlog
kind/bug
Categorizes issue or PR as related to a bug.
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
platform/linux
plugin/bash-like
i'm not completely sure where the bug is yet, but signs point to a bug in node-pty:
microsoft/node-pty#85
test case:
on mac, you will see the full JSON rendered in the sidecar; on mac, you will see a truncated JSON string appear in the REPL. this is because the underlying node-pty (to the best of my current understanding) emits an 'exit' event prior to all of the data being sent on 'data' events. i have inserted printfs down to the level of node-pty/lib/unixTerminal.js, and i see 'exit' and socket 'close' events being sent, and even with a long setTimeout... i do not see the trailing JSON appear, ever.
The text was updated successfully, but these errors were encountered: