mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-24 03:57:22 +08:00
cleanup delay
This commit is contained in:
@@ -641,13 +641,14 @@ class Install
|
||||
|
||||
public function executeCommand($command)
|
||||
{
|
||||
$this->doLog("command: $command");
|
||||
$result = exec($command, $output, $result_code);
|
||||
$this->doLog(sprintf('result_code: %s, result: %s', $result_code, $result));
|
||||
$this->doLog("output: " . json_encode($output));
|
||||
if ($result_code != 0) {
|
||||
throw new \RuntimeException(json_encode($output));
|
||||
}
|
||||
executeCommand($command);
|
||||
// $this->doLog("command: $command");
|
||||
// $result = exec($command, $output, $result_code);
|
||||
// $this->doLog(sprintf('result_code: %s, result: %s', $result_code, $result));
|
||||
// $this->doLog("output: " . json_encode($output));
|
||||
// if ($result_code != 0) {
|
||||
// throw new \RuntimeException(json_encode($output));
|
||||
// }
|
||||
}
|
||||
|
||||
public function runDatabaseSeeder()
|
||||
|
||||
Reference in New Issue
Block a user