diff --git a/atom/browser/lib/init.coffee b/atom/browser/lib/init.coffee index f5445a0cc20b..ff6416d0f9cd 100644 --- a/atom/browser/lib/init.coffee +++ b/atom/browser/lib/init.coffee @@ -14,7 +14,7 @@ process.argv.splice 1, 1 # Pick out switches appended by atom-shell. startMark = process.argv.indexOf '--atom-shell-switches-start' endMark = process.argv.indexOf '--atom-shell-switches-end' -process.execArgv = process.argv.splice startMark, endMark - startMark + 1 +process.argv.splice startMark, endMark - startMark + 1 # Add browser/api/lib to require's search paths, # which contains javascript part of Atom's built-in libraries.