original_string: protected function kill($signal, $pid)
      {
          $output = array();
          $message = exec(sprintf(($this->runtime['Default']['user'] !== $this->getProcessOwner() ? ('sudo -u '. escapeshellarg($this->runtime['Default']['user'])) . ' ' : "") . '/bin/kill -%s %s 2>&1', $signal, $pid), $output, $code);
          return array('code' => $code, 'message' => $message);
      }
code: protected function kill($signal, $pid)
      {
          $output = array();
          $message = exec(sprintf(($this->runtime['Default']['user'] !== $this->getProcessOwner() ? ('sudo -u '. escapeshellarg($this->runtime['Default']['user'])) . ' ' : "") . '/bin/kill -%s %s 2>&1', $signal, $pid), $output, $code);
          return array('code' => $code, 'message' => $message);
      }
code_tokens: protected function kill ( $ signal , $ pid ) { $ output = array ( ) ; $ message = exec ( sprintf ( ( $ this -> runtime [ 'Default' ] [ 'user' ] !== $ this -> getProcessOwner ( ) ? ( 'sudo -u ' . escapeshellarg ( $ this -> runtime [ 'Default' ] [ 'user' ] ) ) . ' ' : "" ) . '/bin/kill -%s %s 2>&1' , $ signal , $ pid ) , $ output , $ code ) ; return array ( 'code' => $ code , 'message' => $ message ) ; }
docstring: Send a signal to a process
  
  @param  String $signal Signal to send
  @param  int    $pid    PID of the process
  
  @codeCoverageIgnore
  @since  1.2.0
  @return array with the code and message returned by the command
docstring_tokens: Send a signal to a process