original_string: public function sendProcess($command, $contentType = "text/plain") {
          $this['response']->setBody(new \Guzzle\Stream\Stream(popen($command, 'r')));
          $this['response']->setHeader("Content-Type", $contentType);
      }
code: public function sendProcess($command, $contentType = "text/plain") {
          $this['response']->setBody(new \Guzzle\Stream\Stream(popen($command, 'r')));
          $this['response']->setHeader("Content-Type", $contentType);
      }
code_tokens: public function sendProcess ( $ command , $ contentType = "text/plain" ) { $ this [ 'response' ] -> setBody ( new \ Guzzle \ Stream \ Stream ( popen ( $ command , 'r' ) ) ) ; $ this [ 'response' ] -> setHeader ( "Content-Type" , $ contentType ) ; }
docstring: Send a Process
  
  This method streams a process to a client
  
  @param  string $command     The command to run
  @param  string $contentType Optional content type of the stream
  @api
docstring_tokens: Send a Process