Answer by L29Ah for wait for chromium to exit before continuing a shell script
The best I can think of is running pgrep in a loop. If you have more than one chromium running, you can isolate your script in a separate PID namespace with unshare or firejail, for instance.
View Articlewait for chromium to exit before continuing a shell script
I'm trying to set up a script that I can call up easily in a WM. The idea is to establish a socks tunnel via ssh to a known-good server and then start chromium with the appropriate environment...
View Article
More Pages to Explore .....