grasp icon indicating copy to clipboard operation
grasp copied to clipboard

Large output not correctly written to STDOUT on Ubuntu

Open adros opened this issue 7 years ago • 1 comments

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 },

adros avatar May 31 '17 15:05 adros

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

ainthek avatar Jul 27 '18 13:07 ainthek