code: def terminate(self):
          
          try:
              self.send_signal(signal.SIGTERM)
          except pyuv.error.ProcessError as e:
              if e.args[0] != pyuv.errno.UV_ESRCH:
                  raise
docs: Terminate the child process.
  
          It is not an error to call this method when the child has already exited.