private function PhpExtensions::system

1 call to PhpExtensions::system()
PhpExtensions::install in drupal/core/vendor/doctrine/common/bin/travis-setup.php

File

drupal/core/vendor/doctrine/common/bin/travis-setup.php, line 131

Class

PhpExtensions

Code

private function system($cmd) {
  $ret = 0;
  system($cmd, $ret);
  if (0 !== $ret) {
    printf("=> Command '%s' failed !", $cmd);
    exit($ret);
  }
}