epoll on Linux doesn't support /dev/null, you are probably hitting that. Do

export EVENT_NOEPOLL=1

Before starting tmux. Or use 1.9 which does this automatically.

-------- Original message --------
From: Trevor Suarez <ric...@gmail.com> 
Date: 19/02/2014  15:47  (GMT+00:00) 
To: tmux-users@lists.sourceforge.net 
Subject: Tmux and redirecting to /dev/null 
 
I've been using Tmux 1.6 (release 3 from EPEL) on CentOS 6.4 for a while now, 
and I've been trying to simply check if a named session is open from a bash 
script... unfortunately, `tmux has-session` will output to stderr if none is 
found. Any attempts to silence the output from stderr seem to completely lock 
up the process.

I've been doing some research and have found that this was a bug from 2-3 years 
ago, but I can't find when it was fixed. I've seen messages regarding bug ID 
"3199205", but I can't find the tracker with those legacy ID's on SourceForge.

I'd like to know if the bug was fixed in either 1.7 or 1.8 and if so would like 
to ask the maintainer of the package on EPEL to update accordingly. Maybe 
there's another workaround also? Any help would be greatly appreciated.

Thanks for a kickass piece of software! And thanks for your time!

- Trevor
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to