mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Exit with 0 when process exists
This commit is contained in:
@@ -32,7 +32,7 @@ class AtomApplication
|
||||
@windows = []
|
||||
|
||||
@sendArgumentsToExistingProcess (success) =>
|
||||
process.exit(1) if success # An Atom already exists, kill this process
|
||||
process.exit(0) if success # An Atom already exists, kill this process
|
||||
@listenForArgumentsFromNewProcess()
|
||||
@setupNodePath()
|
||||
@setupJavaScriptArguments()
|
||||
|
||||
Reference in New Issue
Block a user