Correct spelling of macOS (#3478)

* Correct spelling of macOS

* fixup! Correct spelling of macOS

* fixup! Correct spelling of macOS
This commit is contained in:
Ammar Bandukwala
2022-08-11 21:22:06 -04:00
committed by GitHub
parent 923c212960
commit d7b96f7d58
11 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ func startPty(cmd *exec.Cmd) (PTY, Process, error) {
_ = ptty.Close()
_ = tty.Close()
if runtime.GOOS == "darwin" && strings.Contains(err.Error(), "bad file descriptor") {
// MacOS has an obscure issue where the PTY occasionally closes
// macOS has an obscure issue where the PTY occasionally closes
// before it's used. It's unknown why this is, but creating a new
// TTY resolves it.
return startPty(cmd)