Add ELECTRON_NO_ATTACH_CONSOLE in BufferedNodeProcess

(cherry picked from commit 5f0ad9e015)
This commit is contained in:
Michelle Tilley 2016-04-14 14:39:59 -07:00
parent e230841b57
commit c95412b451

View File

@ -47,6 +47,7 @@ class BufferedNodeProcess extends BufferedProcess
options ?= {}
options.env ?= Object.create(process.env)
options.env['ELECTRON_RUN_AS_NODE'] = 1
options.env['ELECTRON_NO_ATTACH_CONSOLE'] = 1
args = args?.slice() ? []
args.unshift(command)