Replies: 1 comment 1 reply
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am spawning a new Tmux subprocess in Control mode from a Rust program like this:
I need to use two -CC flags, since if I only use a single -C flag, tmux will immediately detach when STDIN is piped to the original Rust program.
However, I don't know how to get output of commands such as
list-windows
as tmux will not print anything to the STDOUT when using -CC. Is there a socket I am supposed to attach to and read output from there? Or am I misunderstanding this whole approach?Beta Was this translation helpful? Give feedback.
All reactions