I have a python script running on a server (let's called box A) inside a tmux session. I ssh into box A from Box B and connect to this tmux session. My question is how do I send some kinds of notification / messages from my python script (running on box A) to my box B and trigger box B to make different sounds (depends on the notification) ?
I assume you can write something to a file on box B from the python script on box A and running a script on box B to monitor this file. I'm just wondering if there're any easy / builtin method in tmux to make these easier.