diff --git a/run_windows.go b/run_windows.go index 37474fb..8b2a511 100644 --- a/run_windows.go +++ b/run_windows.go @@ -66,7 +66,6 @@ func StartWithAttrs(c *exec.Cmd, sz *Winsize, attrs *syscall.SysProcAttr) (Pty, err = w.Start() if err != nil { - _ = pty.Close() return nil, err }