Difference between app.exit() and process.exit()?


What is the difference between these two methods? I do not see any documentation in regards to process.exit() (https://github.com/electron/electron/blob/master/docs/api/process.md) even though it is there.


process.exit is a Node API, so I would assume that it may not do all the right things with regard to an Electron application.