Include exit code with quit event
This commit is contained in:
parent
aa82eddca8
commit
92433be888
10 changed files with 19 additions and 14 deletions
2
spec/fixtures/api/quit-app/main.js
vendored
2
spec/fixtures/api/quit-app/main.js
vendored
|
@ -5,5 +5,5 @@ app.on('ready', function () {
|
|||
})
|
||||
|
||||
process.on('exit', function (code) {
|
||||
console.log('Exit event with code: ' + code)
|
||||
console.log('Exit event with code: ' + JSON.stringify(code, null, 2))
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue