<br><br><div class="gmail_quote">On Tue, Dec 30, 2008 at 5:03 PM, Noah Miller <span dir="ltr"><<a href="mailto:noahisaacmiller@gmail.com">noahisaacmiller@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
<br>
The calls to ASTGUI.systemCmdWithOutput() do not seem to work. I<br>
don't yet know why.<br></blockquote></div><br><div>Are you sure? The GUI uses this for a lot of things. Be aware that this function is not as straight forward as it might seam. It is asynchronous in nature, so the "output" may not be present immediately on return from the function. The "output" is returned to the call-back function and should be acted upon in there. Also, debugging with firebug can be confusing, again because of the asynchronous nature of the call. General rule-of-thumb, you shouldn't be doing anything immediately after a call to systemCmdWithOutput that depends upon completion of the command... all that should take place within the call-back function.</div>
<div><br></div><div>David</div>