From fba17720007d7d0e5454c6f247b9bab34311e748 Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Thu, 31 Jul 2014 16:58:59 +0800 Subject: [PATCH] Don't mess up with browser process's execArgv, fixes #492. --- atom/browser/lib/init.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.