Parse out wait and pid arguments

This commit is contained in:
Corey Johnson & Kevin Sawicki
2013-05-28 16:31:23 -07:00
parent 88a3a82a21
commit 53f98951ea

View File

@@ -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}