Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Large output not correctly written to STDOUT on Ubuntu #116

Open
adros opened this issue May 31, 2017 · 1 comment
Open

Large output not correctly written to STDOUT on Ubuntu #116

adros opened this issue May 31, 2017 · 1 comment

Comments

@adros
Copy link
Contributor

adros commented May 31, 2017

When result from grasp query (run in CLI) is very large, it is not completely written out on Ubuntu.
Problem is that grasp is calling process.exit, see those docs:

https://nodejs.org/api/process.html#process_a_note_on_process_i_o
https://nodejs.org/api/process.html#process_process_exit_code

The solution could be replacing
this line in bin/grasp

exit: process.exit,

for something like this

exit: (code) => { process.exitCode = code },

@ainthek
Copy link

ainthek commented Jul 27, 2018

is this closed by PR ? why not closing the bug report ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants