Puck Mousit <[email protected]> writes: > The -q option intended for quiet operation does not appear > to be working in the version of tmux currently in sid (what > I am using). For example, the has-session argument for tmux > is commonly used in scripts with -q as such:
> $ tmux -q has-session -t existingsession > $ > This would be the expected behavior, with an exit 0 status, > and this does work. However, if I perform the command on a > session target that doesn't exist, I get: > $ tmux -q has-session -t nonexistant > session not found: nonexistant > $ > The exit status is 1 as would be expected, so the has-session > function itself works. It is just the -q that seems to be > ignored, since that should've been a silent operation. The -q flag doesn't suppress *all* messages as you seem to expect. It just disables some informational messages that would otherwise be annoying (e.g. when you toggle an option). It should be easy enough to just redirect the client's output to /dev/null as necessary. -- Romain Francoise <[email protected]> http://people.debian.org/~rfrancoise/ -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

