'Initiate the remote stack viewer from a separate thread.
This method is called from the subprocess, and by returning from this
method we allow the subprocess to unblock.  After a bit the shell
requests the subprocess to open the remote stack viewer which returns a
static object looking at the last exception.  It is queried through
the RPC mechanism.'

def open_remote_stack_viewer(self):

    self.tkconsole.text.after(300, self.remote_stack_viewer)
