code: def do_signal(self, signame: str) -> None:
          
          if hasattr(signal, signame):
              os.kill(os.getpid(), getattr(signal, signame))
          else:
              self._sout.write('Unknown signal %s\n' % signame)
docs: Send a Unix signal