-
Notifications
You must be signed in to change notification settings - Fork 8k
Closed
Description
When running gh repo garden on macOS Big Sur, I get an error:
getting TTY settings failed: stty: when specifying an output style, modes may not be set
exit status 1
I believe the issue is with the following lines. Manually running stty -f /dev/tty -g gives me the same error, while stty -F /dev/tty -g prints the terminal device as expected.
cli/pkg/cmd/repo/garden/garden.go
Lines 185 to 190 in 09b0981
| sttyFileArg := "-F" | |
| if runtime.GOOS == "darwin" { | |
| sttyFileArg = "-f" | |
| } | |
| oldTTYCommand := exec.Command("stty", sttyFileArg, "/dev/tty", "-g") |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels