On 9/13/2010 2:55 AM, Nicholas Marriott wrote: > > No, I meant that 1>&2 2>/dev/null looks unusual, did you really still > want stdout (although has-session doesn't output anything to stdout, so > it hardly matters much)?
At first I was trying to see why the script wasn't working, and realized it was sed that was blocking. At first I just did a quick copy and paste just to get the error code, then changed it to has-session since I imagine it has less overhead on tmux's part. But all it's trying to do is get an return code, nothing more. ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users