Greetings,
I attempting to format the output of tmux ls -F:
$ tmux ls -F "#{session_name}: #(/home/user/tmux-utils/process-display #{pane_pid})" | head -1
189: <'/home/user/tmux-utils/process-display 8726' not ready>
I rerun the above command a few times and each time the "not ready" is displayed.
If I run the command manually, I get what I expect:
$ /home/user/tmux-utils/process-display 8726
I was under the impression that the "ls formatting" for tmux needed to cache the values to display, but that doesn't seem to be happening. Any ideas as how to proceed?
Thanks!
-m