"Linus OS. We could have called it LINUX"
A great line from this video.
New blog post about how to run a command every time a specific program stops running. (With a cool script I wrote)
I could also potentially just alias foobar into something like:
alias foobar="foobar ; cleanupFoobar.sh"
But then wouldn't there be potential for the program to be run outside of a context where that alias is set?
Is there an easy way to run a script every time a specific program finishes? Say I have a program foobar which leaves unnecessary files behind, and I want to run cleanupFoobar.sh every time that program finished running. Is there a standard for this? The best I can think of is to have something checking regularly for the foobar process until it sees that the foobar process is running. Then at the next instance it is not running, run the script.
Ahh yes. I am sure the guy has taken out a youtube ad to share with me the next big investing secret and make me rich. It's certainly not a scam. Noooooo. (Also before anybody asks I am in a weird situation where I have to watch youtube videos on qutebrowser which has no way to block video ads. Normally I would do mpv.)
Tech Enthusiast and language learner
Write good software that happens to be free. Not shit software that's only selling point is being free.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.