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