Closed ylluminate closed 2 years ago
Have you tried:
command > /dev/null 2>&1
or
( command ) >/dev/null 2>&1
or
command 1>&- 2>&-
hope one of those works for you.
Interesting, that worked better @emichaud, thanks.
Any chance there's a method for displaying the xbar
icon solely instead of a blank icon in the Menubar? Eg, now when xbar
executes and even just sits thee, it is an "empty" icon...
Sorry, at the moment don't have the knowledge to help with the icon. glad I could help with the cli.
I have an issue where I'm using
xbar
to restart a process to control some external monitors. The process has a leak and must be restarted once a day to keep it under control. I thought a simply output redirection should work to preventxbar
from capturing and displaying the output, but it seems to not work, here's what I have in the script:Is there another method to stop output from going to or being displayed by
xbar
?