i calling nodejs file in shell script:
$ node process.js $ let "errors |= $?"
i want see if process.js file returned errors. how return value inside process.js file can capture in shell script.
process.exit(1)
end node app , return 1
exit code
Comments
Post a Comment