Use with_status
to run commands and have your arduino let you know when they are done.
with_status
starts by turning the LED off before running your command.
Once your command completes, it will turn the LED on. Green if the command succeeded, and red if it failed.
I use this with long running commands (such as deploying to heroku), so I can start working on something else without forgetting about my process.