I am impressed by tmux's remote control features:
tmux new-window -t p12346 'echo foo;sleep 10'
This creates a new window in the session named p12346 and does not print anything on the screen. That is great. But how can I tell the above command to wait until the sleep finishes before returning? I.e. I want this do the same but to take 10 seconds to execute:
time tmux new-window -t p12346 'echo foo;sleep 10'
If this is viable then it might become a feature of GNU Parallel: The jobs currently running can be accessed as each their window through
tmux, so you can follow the progress of each job in real time.
tmux will not be run in the foreground: The user will need to attach to it.