Brew upgrade ran from another app error: undefined method `exitstatus' for nil #5710
Unanswered
Pe8er
asked this question in
Everyday usage
Replies: 1 comment 2 replies
-
Spitballing here, since you seem to have done the obvious checks and come up empty... Try changing your click script to:
then check the contents of those files against manual runs of |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Output of
brew config
Output of
brew doctor
Description of issue
I have a brew widget in my Sketchybar setup. What is important: when I click on widget icon, it attempts to run command
brew update && brew upgrade
And the
upgrade
command errors out. Note: if I run this command via terminal, it works normally.Here's my widget code:
Error output:
Here's what I tried:
brew shellenv; brew update && brew upgrade
as per this suggestion/opt/homebrew/bin/brew update && /opt/homebrew/bin/brew upgrade
"$(brew --repository)/Library/Contributions/examples"
directory doesn't exist on my system.OS: MacOs 15.1
Shell: zsh 5.9 (arm64-apple-darwin24.0)
Sketchybar: v2.21.0
I have a feeling something is wrong with my shell environment, but I don't know where to look. Any insight would be appreciated!!
Beta Was this translation helpful? Give feedback.
All reactions