Merge branch 'master' into wl-electron-37

This commit is contained in:
Wliu
2016-04-15 16:19:44 +00:00
4 changed files with 15 additions and 43 deletions

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)