public function __construct(array $arguments = array())
 {
     array_unshift($arguments, 'git');
     $gitDir = \Mesamatrix::path(\Mesamatrix::$config->getValue("info", "private_dir")) . "/";
     $gitDir .= \Mesamatrix::$config->getValue("git", "mesa_dir", "mesa.git");
     foreach ($arguments as &$arg) {
         $arg = str_replace('@gitDir@', $gitDir, $arg);
     }
     parent::__construct($arguments);
     $this->setWorkingDirectory($gitDir);
 }
 public function __construct(array $arguments = array())
 {
     $this->arguments = $arguments;
     parent::__construct($arguments);
 }