-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
Chunked stdout/stderr drops writes if terminated early. #784
Copy link
Copy link
Closed
Labels
confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
Description
Activity
Metadata
Metadata
Assignees
Labels
confirmed-bugIssues and PRs for confirmed bugs.Issues and PRs for confirmed bugs.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.processIssues and PRs related to the process subsystem.Issues and PRs related to the process subsystem.
Hello,
I have an app which prints a long json to the output and I need to
| grepthis output in order to parse some data.It works fine with Node.js but it doesn't with iojs.
It seems the output is chunked in some ways and grep stops before receiving all the data.
I came to this conclusion because when I redirect the output in some file and then
cat file | grepit works, everything is there, butiojs app.js | grepwon't.Any ideas on this issue ?
Thanks.