Welcome to the Power Users community on Codidact!
Power Users is a Q&A site for questions about the usage of computer software and hardware. We are still a small site and would like to grow, so please consider joining our community. We are looking forward to your questions and answers; they are the building blocks of a repository of knowledge we are building together.
Show icon in menu bar while a shell script is running?
When running a finder quick action, a cute little cog wheel is shown in the menu bar while the task is still running:
Is there a way to make a similar icon appear in the menu bar while a shell script is running in terminal?
For example with the following shell script test.sh
sleep 10
Is there a way to make a wrapper or something, which would trigger a menu bar icon?
1 answer
The following users marked this post as Works for me:
| User | Comment | Date |
|---|---|---|
| samcarter | (no comment) | Sep 29, 2025 at 11:23 |
One can use the automator:
- create an automator workflow which runs a shell script with
bash "$1"
(replace bash with whatever shell you would like to use)
Note that "Pass input" is set to "as arguments".
- run in terminal:
automator -i "test.sh" name_of_the_workflow.workflow

1 comment thread