Beispiel #1
0
 /**
  * Detect command execution string.
  * @param mixed $path
  * @return string
  */
 public function detectCommand($path)
 {
     $path = parent::detectCommand($path);
     return is_executable($path) ? $path : '/usr/bin/env python ' . $path;
 }