This commit is contained in:
2021-04-30 11:15:57 +08:00
parent 5841fae6c2
commit 0813c3e05f
2 changed files with 9 additions and 1 deletions
+9
View File
@@ -50,7 +50,16 @@ class Command extends \Console\Command
if ($dtl->get('action') == 'stop') {
return 'shutdown success.';
}
$this->generate_runtime_builder();
return $manager->start();
}
private function generate_runtime_builder()
{
exec(PHP_BINARY . ' snowflake runtime:builder');
}
}