<div dir="ltr">On 19 May 2013 21:42, Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">4 Somehow fix sugar-launch to work properly with html activities. The websocket communication is not working right because it requires the key/port variables which are in the shell environment and sugar-launch is not running in there.<br>
</div></blockquote><div><br></div><div>Just realized that sugar-launch is probably supposed to be always launched inside a sugar-terminal, inside the shell, so the environment should be fine there. With sugar-runner --test-command, the command is launched outside the shell instead, which breaks things.<br>
<br></div>Perhaps we should just add a --run-test argument to the sugar script and use that in sugar-runner. With such argument the shell would run the command asynchronously, watch its exit status and return it.<br></div>
<div class="gmail_quote"><div><br></div></div></div></div>