You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now, if I run it from the command line tmux run-shell PATH/TO/script, everything works fine.
However, if I call it from another menu tmux display-menu "script" "1" "run-shell PATH/TO/script", it fails.
And if I replace the latter run-shell to new-window, it works again: tmux display-menu "script" "1" "new-window \"PATH/TO/script ; read -n1 q\"", it works again.
Why is that? And is it possible somehow to fix the 2. scenario?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Let's say I have the following script:
tmux run-shell PATH/TO/script
, everything works fine.tmux display-menu "script" "1" "run-shell PATH/TO/script"
, it fails.run-shell
tonew-window
, it works again:tmux display-menu "script" "1" "new-window \"PATH/TO/script ; read -n1 q\""
, it works again.Why is that? And is it possible somehow to fix the 2. scenario?
Beta Was this translation helpful? Give feedback.
All reactions