Open adros opened 7 years ago
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 },
is this closed by PR ? why not closing the bug report ?
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 },