Beispiel #1
0
 def destroy(self, for_restart: bool = False):
     try:
         self.send_command(ImmediateCommand("kill"))
     except BrokenPipeError:
         pass
     except OSError:
         pass
     super().destroy()
Beispiel #2
0
 def destroy(self):
     try:
         self.send_command(ImmediateCommand("kill"))
     except BrokenPipeError:
         pass
     except OSError:
         pass
     super().destroy()
Beispiel #3
0
 def interrupt(self):
     # Don't interrupt local process, but direct it to device
     self._send_msg(ImmediateCommand("interrupt"))