mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Parse out wait and pid arguments
This commit is contained in:
@@ -20,6 +20,8 @@ parseCommandLine = ->
|
||||
executedFrom = args['executed-from']
|
||||
pathsToOpen = if args._.length > 0 then args._ else null
|
||||
testMode = true if args['test']
|
||||
wait = true if args['wait']
|
||||
pid = args['pid']
|
||||
version = String fs.readFileSync(path.join(__dirname, '..', '..', 'version'))
|
||||
|
||||
if args['resource-path']
|
||||
@@ -32,4 +34,4 @@ parseCommandLine = ->
|
||||
catch e
|
||||
resourcePath = path.dirname(__dirname)
|
||||
|
||||
{resourcePath, executedFrom, pathsToOpen, testMode, version}
|
||||
{resourcePath, executedFrom, pathsToOpen, testMode, version, wait, pid}
|
||||
|
||||
Reference in New Issue
Block a user