original_string: public function helperExec($cmd)
      {
          if ($this->resolve('EXPLAIN')) {
              $this->output->writeln("# Task needs the following helper command:");
              $this->output->writeln("# " . str_replace("\n", "\\n", $cmd));
          }
          $ret = '';
          $this->executor->execute($cmd, $ret);
          return $ret;
      }
code: public function helperExec($cmd)
      {
          if ($this->resolve('EXPLAIN')) {
              $this->output->writeln("# Task needs the following helper command:");
              $this->output->writeln("# " . str_replace("\n", "\\n", $cmd));
          }
          $ret = '';
          $this->executor->execute($cmd, $ret);
          return $ret;
      }
code_tokens: public function helperExec ( $ cmd ) { if ( $ this -> resolve ( 'EXPLAIN' ) ) { $ this -> output -> writeln ( "# Task needs the following helper command:" ) ; $ this -> output -> writeln ( "# " . str_replace ( "\n" , "\\n" , $ cmd ) ) ; } $ ret = '' ; $ this -> executor -> execute ( $ cmd , $ ret ) ; return $ ret ; }
docstring: This is useful for commands that need the shell regardless of the 'explain' value setting.
  
  @param string $cmd
  @return mixed
docstring_tokens: This is useful for commands that need the shell regardless of the explain value setting .