use env service over process.env VSCODE_SHARED_IPC_HOOK

This commit is contained in:
Benjamin Pasero 2016-09-12 10:10:26 +02:00
parent eab4cd3599
commit 463b895359

View file

@ -211,7 +211,7 @@ export class WorkbenchShell {
private initServiceCollection(container: HTMLElement): [InstantiationService, ServiceCollection] {
const disposables = new Disposables();
const sharedProcess = connectNet(process.env['VSCODE_SHARED_IPC_HOOK']);
const sharedProcess = connectNet(this.environmentService.sharedIPCHandle);
sharedProcess.done(service => {
service.onClose(() => {
this.messageService.show(Severity.Error, {