parameters: (self, process)
docstring: Kill a remote process started with rsh().
  
          @param process: A Process corresponding to the command to kill which
                          was created with rsh().
docstring_summary: Kill a remote process started with rsh().
docstring_tokens: Kill a remote process started with rsh () .
function: def kill(self, process):
          """Kill a remote process started with rsh().
  
          @param process: A Process corresponding to the command to kill which
                          was created with rsh().
          """
          killer = subprocess.Popen(['ssh', process.host,
                                     self.sudo,
                                     '%s/killpid' % config.hooks.get_remote_scripts_path(),
                                     process.sonce])
          killer.wait()
          try:
              process.proc.kill()
          except:
              pass
          process.proc.wait()
          self.processes.remove(process)
function_tokens: def kill ( self , process ) : killer = subprocess . Popen ( [ 'ssh' , process . host , self . sudo , '%s/killpid' % config . hooks . get_remote_scripts_path ( ) , process . sonce ] ) killer . wait ( ) try : process . proc . kill ( ) except : pass process . proc . wait ( ) self . processes . remove ( process )