You can also set the process.exitCode property: JS copy. process.exitCode = 1. and when the program ends, Node.js will return that exit code.
確定! 回上一頁