Open
Description
I use tmux 2.3, tmuxp 1.3.5, Python 3.6.4, when I use this config:
panes:
- shell_command:
- ssh [email protected]
- pwd
when ssh command slow, these two command run together, not run pwd
in machine x.x.x.x
if run in expect
, such as expect "*#" { send "pwd\r" }
means when run ssh [email protected]
done and show command prompt *#
, then run pwd
.
instead of run commands like this
tmuxp/tmuxp/workspacebuilder.py
Lines 335 to 336 in 18f7492
Another way is that write a shell_command to run a expect
script.