mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
Fixes #183445
This commit is contained in:
parent
670f92f22b
commit
677be0815b
|
@ -54,8 +54,8 @@ export class ElectronPtyHostStarter implements IPtyHostStarter {
|
|||
this.utilityProcess.start({
|
||||
type: 'ptyHost',
|
||||
entryPoint: 'vs/platform/terminal/node/ptyHostMain',
|
||||
payload: this._createPtyHostConfiguration(lastPtyId),
|
||||
execArgv
|
||||
execArgv,
|
||||
env: this._createPtyHostConfiguration(lastPtyId)
|
||||
});
|
||||
|
||||
const port = this.utilityProcess.connect();
|
||||
|
@ -78,13 +78,13 @@ export class ElectronPtyHostStarter implements IPtyHostStarter {
|
|||
|
||||
private _createPtyHostConfiguration(lastPtyId: number) {
|
||||
return {
|
||||
VSCODE_LAST_PTY_ID: lastPtyId,
|
||||
VSCODE_LAST_PTY_ID: String(lastPtyId),
|
||||
VSCODE_AMD_ENTRYPOINT: 'vs/platform/terminal/node/ptyHostMain',
|
||||
VSCODE_PIPE_LOGGING: 'true',
|
||||
VSCODE_VERBOSE_LOGGING: 'true', // transmit console logs from server to client,
|
||||
VSCODE_RECONNECT_GRACE_TIME: this._reconnectConstants.graceTime,
|
||||
VSCODE_RECONNECT_SHORT_GRACE_TIME: this._reconnectConstants.shortGraceTime,
|
||||
VSCODE_RECONNECT_SCROLLBACK: this._reconnectConstants.scrollback
|
||||
VSCODE_RECONNECT_GRACE_TIME: String(this._reconnectConstants.graceTime),
|
||||
VSCODE_RECONNECT_SHORT_GRACE_TIME: String(this._reconnectConstants.shortGraceTime),
|
||||
VSCODE_RECONNECT_SCROLLBACK: String(this._reconnectConstants.scrollback)
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue