- Electron version: 1.1.3
- Operating system: Windows 10 64 bit

I have that script in my app:

``` javascript
const child = spawn(process.execPath, [info.path], {
            env: { "ATOM_SHELL_INTERNAL_RUN_AS_NODE": "0" },
            shell: false,
            detached: true
          });
          child.unref();
          child.stdout.on('data', (data) => {
            console.log('received data', data);
            term.write(data.toString());
          });

          child.stderr.on('data', (data) => {
            console.log('received data', data);
            term.write(data.toString());
          });
```

The idea is to spawn a node script and output its log within the main app view.

Now this works great on OSX, however it does not work on windows. The stdout and stderr are always output in the main process "console".
It feels like ```stdio: 'inherit' is always used.

atom/app/atom_main.cc
atom::AtomMainDelegate delegate;
  content::ContentMainParams params(&delegate);
  params.instance = instance;
  params.sandbox_info = &sandbox_info;
  atom::AtomCommandLine::Init(argc, argv);
  return content::ContentMain(params);
}
#elif defined(OS_LINUX)  
int main(int argc, const char* argv[]) {
  if (IsRunAsNode()) {
    base::i18n::InitializeICU();
    base::AtExitManager atexit_manager;
    return atom::NodeMain(argc, const_cast<char**>(argv));
  }
  atom::AtomMainDelegate delegate;
  content::ContentMainParams params(&delegate);
  params.argc = argc;
  params.argv = argv;
  atom::AtomCommandLine::Init(argc, argv);
  return content::ContentMain(params);
}
#else  
int main(int argc, const char* argv[]) {
  if (IsRunAsNode()) {
    return AtomInitializeICUandStartNode(argc, const_cast<char**>(argv));
  }
  return AtomMain(argc, argv);
}
#endif