def default(self, line): response = threads.blockingCallFromThread( reactor, self._run_command, line) print '\n'.join(response.stdout) print >>sys.stderr, '\n'.join(response.stderr)