<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jun 11, 2013 at 7:28 AM, Peter Seebach <span dir="ltr"><<a href="mailto:peter.seebach@windriver.com" target="_blank">peter.seebach@windriver.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":296" style="overflow:hidden">This got routed to me because the visible error message says<br>
Execution of "pseudo /bin/bash" failed<br>
<br>
but actually it's nothing to do with pseudo. The real<br>
problem is that the tmux class in terminal.py is producing<br>
a string like:<br>
'tmux new <args> {command}'<br>
<br>
This then gets .format called on it, substituting in a command. If<br>
the comand is "pseudo /bin/bash", this is:<br>
'tmux new <args> pseudo /bin/bash'<br>
which is a usage error. It would be okay if it were:<br>
'tmux new <args> "pseudo /bin/bash"'<br>
<br>
So add double quotes. Of course, that assumes that <command> never has<br>
double quotes in it... If it does, that may need a fancier solution.</div></blockquote><div><br></div><div> I'd suggest calling pipes.quote() on the value being passed into format().</div></div></div><div class="gmail_extra">
-- <br>Christopher Larson</div></div>