process.exit([code])
Ends the process with the specified code
. If omitted, exit uses the 'success' code 0
.
To exit with a 'failure' code:
process.exit(1);
The shell that executed Node.js should see the exit code as 1.
process.exit([code])
Ends the process with the specified code
. If omitted, exit uses the 'success' code 0
.
To exit with a 'failure' code:
process.exit(1);
The shell that executed Node.js should see the exit code as 1.
Please login to continue.