Brew: warnings in `brew services list` break parsing
Closed this issue · 1 comments
camdez commented
Under some circumstances, brew services list
's output may contain "Warning" lines which break this package's ability to parse the output.
For example, my current output of the command is:
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the lucagrulla/tap tap (not Homebrew/brew or Homebrew/core):
/usr/local/Homebrew/Library/Taps/lucagrulla/homebrew-tap/Formula/cw.rb:9
Warning: Calling bottle :unneeded is deprecated! There is no replacement.
Please report this issue to the polyfy/polylith tap (not Homebrew/brew or Homebrew/core):
/usr/local/Homebrew/Library/Taps/polyfy/homebrew-polylith/Formula/poly.rb:8
Name Status User File
offlineimap started camdez ~/Library/LaunchAgents/homebrew.mxcl.offlineimap.plist
redis stopped
syncthing started camdez ~/Library/LaunchAgents/homebrew.mxcl.syncthing.plist
unbound stopped
(FWIW, these lines are printed to STDERR, but still are included in the text returned by daemons--shell-command-to-string
.)
PR to follow promptly.
cbowdon commented
Thanks! 🙏