Replies: 1 comment 1 reply
|
|
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
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-windowsas 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?All reactions