How do I check if a process (Firefox) has quit?
- by Al_Jehle
I am using Ubuntu 12.04 64-bit, with all updates installed.
I made a simple shell script that starts a SOCKS5 tunnel and launches Firefox (with correct network proxy settings) to use the tunnel. How do I recognize when Firefox has ended (when I close it) so that I can close the tunnel? Also, it would be awesome if I could run this in the…