I'm looking for a software that makes a program run or exit according to another program's state. For example if I run Steam or FileZilla, I want bittorrent client and download manager to exit. If Steam or FileZilla isn't running, bittorrent client and download manager should start.
I'm on Windows 10 x64. The software should be free or open source but any trial would be fine.