parameters: (self)
docstring: Wait on the executing process by reading from its stdout.
          Use GObject.idle_add when calling functions that modify gtk objects.
docstring_summary: Wait on the executing process by reading from its stdout.
          Use GObject.idle_add when calling functions that modify gtk objects.
docstring_tokens: Wait on the executing process by reading from its stdout . Use GObject . idle_add when calling functions that modify gtk objects .
function: def run(self):
          """
          Wait on the executing process by reading from its stdout.
          Use GObject.idle_add when calling functions that modify gtk objects.
          """
          # handle completion
          r = "\n"
          while r:
              GLib.idle_add(Messages.send_verbose_exec, r)
              r = self.process.stdout.read(1)
  
          # Properly close pipe before thread is terminated
          self.process.stdout.close()
          while self.process.poll() is None:
              # Wait for the process to fully terminate
              time.sleep(0.05)
  
          GLib.idle_add(self.done)
function_tokens: def run ( self ) : # handle completion r = "\n" while r : GLib . idle_add ( Messages . send_verbose_exec , r ) r = self . process . stdout . read ( 1 ) # Properly close pipe before thread is terminated self . process . stdout . close ( ) while self . process . poll ( ) is None : # Wait for the process to fully terminate time . sleep ( 0.05 ) GLib . idle_add ( self . done )