Skip to content

Commit

Permalink
Do not use ConPTY
Browse files Browse the repository at this point in the history
  • Loading branch information
ravicious committed Mar 13, 2023
1 parent 13b1462 commit 89d3b4f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/packages/teleterm/src/sharedProcess/ptyHost/ptyProcess.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ export class PtyProcess extends EventEmitter implements IPtyProcess {
// https://unix.stackexchange.com/questions/123858
cwd: this.options.cwd || getDefaultCwd(this.options.env),
env: this.options.env,
// Turn off ConPTY due to an uncaught exception being thrown when a PTY is closed.
useConpty: false,
});

this._setStatus('open');
Expand Down

0 comments on commit 89d3b4f

Please sign in to comment.