We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d2bff0 commit 19cd199Copy full SHA for 19cd199
localexec.go
@@ -90,6 +90,8 @@ func (l LocalExecer) Start(ctx context.Context, c Command) (Process, error) {
90
}
91
92
if c.TTY {
93
+ // This special WSEP_TTY variable helps debug unexpected TTYs.
94
+ process.cmd.Env = append(process.cmd.Env, "WSEP_TTY=true")
95
process.tty, err = pty.Start(process.cmd)
96
if err != nil {
97
return nil, xerrors.Errorf("start command with pty: %w", err)
0 commit comments