Merge pull request #7578 from electron/windows-logging

Show console output from Windows when ELECTRON_RUN_AS_NODE is set
This commit is contained in:
Cheng Zhao 2016-10-17 20:22:39 +08:00 committed by GitHub
commit ce847fc3ca
6 changed files with 47 additions and 5 deletions

5
spec/fixtures/module/run-as-node.js vendored Normal file
View file

@ -0,0 +1,5 @@
console.log(JSON.stringify({
processLog: typeof process.log,
processType: typeof process.type,
window: typeof window
}))