Describe the bug
When I issue any command at all, even gh --help and gh --version, the command line waits a long time (~30 seconds) before returning control to the user.
Steps to reproduce the behaviour
on macOS
brew upgrade gh
gh --version
..waits ~30 seconds before returning control.
Expected vs actual behaviour
It should execute the command, printing the output and any errors, then stop without waiting.
Logs
Paste the activity from your command line. Redact if needed.
% env | grep PAGER
% echo $SHELL
/bin/zsh
% system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: macOS 12.6.2 (21G320)
Kernel Version: Darwin 21.6.0
.....snipped....
% time gh --version
gh version 2.21.2 (2023-01-03)
https://github.com/cli/cli/releases/tag/v2.21.2
gh --version 0.05s user 0.01s system 0% cpu 30.057 total
Describe the bug
When I issue any command at all, even
gh --helpandgh --version, the command line waits a long time (~30 seconds) before returning control to the user.Steps to reproduce the behaviour
on macOS
brew upgrade ghgh --version..waits ~30 seconds before returning control.
Expected vs actual behaviour
It should execute the command, printing the output and any errors, then stop without waiting.
Logs
Paste the activity from your command line. Redact if needed.