Skip to content

Commit

Permalink
dont attach console in cli.ts
Browse files Browse the repository at this point in the history
fixes #5867
  • Loading branch information
joaomoreno committed Apr 29, 2016
1 parent 1b5317a commit cd779ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vs/workbench/electron-main/cli.ts
Expand Up @@ -18,7 +18,8 @@ export function main(args: string[]) {
} else {
const env = assign({}, process.env, {
// this will signal Code that it was spawned from this module
'VSCODE_CLI': '1'
'VSCODE_CLI': '1',
'ELECTRON_NO_ATTACH_CONSOLE': '1'
});
delete env['ATOM_SHELL_INTERNAL_RUN_AS_NODE'];

Expand Down

0 comments on commit cd779ff

Please sign in to comment.