Closed l3nz closed 5 years ago
Scripts do not set the return value. How do we do it?
Should be trivial: https://stackoverflow.com/questions/30610409/returning-a-value-to-shell-script-from-a-node-js-file
Maybe it's enough to do (js/process.exit code)
(js/process.exit code)
This should be it: http://planck-repl.org/planck-core.html#exit
Please note that there is an issue with return codes: https://github.com/planck-repl/planck/issues/853
Scripts do not set the return value. How do we do it?
Should be trivial: https://stackoverflow.com/questions/30610409/returning-a-value-to-shell-script-from-a-node-js-file