---
** [tickets:#178] tmux hang for certain commands**
**Status:** open
**Created:** Sat Feb 14, 2015 11:17 PM UTC by Ole Tange
**Last Updated:** Sat Feb 14, 2015 11:17 PM UTC
**Owner:** nobody
I am trying to understand why this program behaves differently depending on Y:
#!/bin/bash
rm -f /tmp/par21d9I.tmx
mkfifo /tmp/par21d9I.tmx;
tmux new-session -d true\
111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
11111111111$Y\;\ perl\ -e\ \'while\(\$t++\<3\)\{\ print\ \$ARGV\[0\],\"\\n\"\
\}\'\ \ \>\>\ /tmp/par21d9I.tmx\&sleep\ .1;
exec perl -e '$/="/";$_=<>;$c=<>;unlink $ARGV; /(\d+)h/ and
exit($1);exit$c' /tmp/par21d9I.tmx
tmux version 1.8:
Y=Y prg
#OK
Y=YY prg
#Blocks
Y=YYYYYYY prg
#Blocks
Y=YYYYYYY prg
#OK
tmux version 1.9a:
Y=Y prg
#OK
Y=YY prg
#Blocks
Y=YYYY prg
#Blocks
Y=YYYYY prg
#OK
Any idea why the program hangs for some values of Y?
---
Sent from sourceforge.net because tmux-users@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/tmux/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users