- 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
fprintf(stderr, "Could not convert arguments to utf8.");
      exit(1);
    }
    
    argv[i] = new char[size];
    DWORD result = WideCharToMultiByte(CP_UTF8,
                                       0,
                                       wargv[i],
                                       -1,
                                       argv[i],
                                       size,
                                       NULL,
                                       NULL);
    if (result == 0) {
      
      fprintf(stderr, "Could not convert arguments to utf8.");
      exit(1);
    }
  }
  if (IsRunAsNode()) {
    
    base::AtExitManager atexit_manager;
    base::i18n::InitializeICU();
    return atom::NodeMain(argc, argv);
  } else if (IsEnvSet("ELECTRON_INTERNAL_CRASH_SERVICE")) {
    return crash_service::Main(cmd);
  }
  sandbox::SandboxInterfaceInfo sandbox_info = {0};
  content::InitializeSandboxInfo(&sandbox_info);