Re: tmux has-session -t MYSESSION 2> /dev/null

2011-06-28 Thread Randy Stauner
Not exactly sure what you are looking to do... you can pipe stderr into stdout: command 2>&1 | command-that-receives-both-in-one-stream or you can dump stdout to a file (or /dev/null) and pipe stderr command 2>&1 >file | command-gets-stderr On Tue, Jun 28, 2011 at 4:28 AM, Jesse Molina wrote:

Re: tmux has-session -t MYSESSION 2> /dev/null

2011-06-28 Thread Jesse Molina
Interesting. Are there any negative consequences of the workaround? Also, for fun, anyone got a creative idea how to pipe stderr as an alternative to redirect? =) Nicholas Marriott wrote: > This is a bug in epoll on Linux, you have several choices: > > - Build tmux against libevent 2 and s

Re: tmux has-session -t MYSESSION 2> /dev/null

2011-06-28 Thread Nicholas Marriott
This is a bug in epoll on Linux, you have several choices: - Build tmux against libevent 2 and set EVENT_NOEPOLL=1 in the environment before starting it. (libevent 1.4 has a another bug which is worse, so only do this if you use libevent 2.) - Avoid redirecting to /dev/null. IIRC you can work