<html><head></head><body bgcolor="#FFFFFF"><div><span class="Apple-style-span" style="font-family: Noteworthy; font-size: 18px; font-weight: bold; line-height: 24px; -webkit-composition-fill-color: rgba(130, 98, 83, 0.09375); -webkit-composition-frame-color: rgba(191, 107, 82, 0.496094); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); ">Dear AndrĂ©<div><div><br></div><div>This is what we're doing (see my recent email) and the erlang is working fine. I'll be at the office this afternoon to check properly but here are a few differences:</div><div><br></div><div>- our fab script uses sudo() instead of run();</div><div>- this function calls an unit script instead of calling the release start directly.</div><div><br></div><div>> However, attaching a shell to the</div><div>> node triggers a strange</div><div>> <span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(130, 98, 83, 0.0898438); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); ">behavior, the shell is available but</span></div><div><span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(130, 98, 83, 0.0898438); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); ">> unusable. </span></div><div><span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(130, 98, 83, 0.0898438); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); "><br></span></div><div><span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(130, 98, 83, 0.0898438); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); ">What are the symptoms?</span></div><div><span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(130, 98, 83, 0.0898438); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); "><br></span></div><div><span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(130, 98, 83, 0.0898438); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); ">Best wishes</span></div><div><span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(130, 98, 83, 0.0898438); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); "><br></span></div><div><span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(130, 98, 83, 0.0898438); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); ">Ivan</span></div></div><div><span class="Apple-style-span" style="-webkit-composition-fill-color: rgba(130, 98, 83, 0.0898438); -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); "><br></span></div></span><br>Sent from my iPhone</div><div><br>On 5 Jul 2012, at 23:27, AndrĂ© Graf <<a href="mailto:andre.graf@erl.io">andre.graf@erl.io</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><span>Hello,</span><br><span></span><br><span>I am working on a small library that uses Python Fabric together with</span><br><span>Rebar deploying of Erlang applications. Fabric provides a scriptable</span><br><span>(it's Python) abstraction over SSH.</span><br><span>While I am able to deploy and upgrade new releases through such a</span><br><span>fabric script I struggle with a simple Erlang node startup.</span><br><span></span><br><span>A fabric call e.g. run("/path/to/my/release/bin/myproject start")</span><br><span>invokes following SSH command</span><br><span>ssh user@remote "/bin/bash -l -c '/path/to/my/release/bin/myproject start'"</span><br><span></span><br><span>This starts the node and I can use the remote shell to operate on the</span><br><span>node. However, attaching a shell to the node triggers a strange</span><br><span>behavior, the shell is available but unusable. It seems the startup</span><br><span>through SSH has somehow confused the involved pipes.</span><br><span></span><br><span>Do you have any hints on that? I am using rebar 2.0.0 R15B</span><br><span>20120625_185716 git 2.0.0-45-gc41fda6.</span><br><span></span><br><span>Cheers,</span><br><span>Andre</span><br><span>_______________________________________________</span><br><span>erlang-questions mailing list</span><br><span><a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a></span><br><span><a href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a></span><br></div></blockquote></body></html>