Re: run-shell error on while-loop

2014-12-24 Thread CaptSpify
CaptSpify@woody ~ $ tmux -V tmux 1.9 -- Kyel On Tue, Dec 23, 2014 at 09:55:43AM +, Nicholas Marriott wrote: > tmux version? > > Original message > From: captsp...@thekyel.com > Date:22/12/2014 18:09 (GMT+00:00) > To: tmux-us...@lists.sf.net > Subjec

Re: run-shell error on while-loop

2014-12-24 Thread CaptSpify
ng but that session's command queue is blocked waiting for the > first run-shell to exit. Bind the key to run-shell -b instead. > > > > On Tue, Dec 23, 2014 at 06:48:25AM -0800, captsp...@thekyel.com wrote: > > CaptSpify@woody ~ $ tmux -V > > tmux 1.9 > > >

run-shell error on while-loop

2014-12-23 Thread CaptSpify
I've got a weird issue where running a script with "run-shell" acts differently than running it from my actual shell. I've bound my script like so: > bind-key -n "M-B" run-shell "/bin/bash /usr/bin/test.sh" Here's is the script I'm trying to run: > #!/bin/bash > lockfile="/tmp/.tmux.lock" >