diff --git a/HttpServer/Command.php b/HttpServer/Command.php index 7fc29003..aa092dde 100644 --- a/HttpServer/Command.php +++ b/HttpServer/Command.php @@ -62,7 +62,7 @@ class Command extends \Console\Command */ private function generate_runtime_builder() { - exec(PHP_BINARY . ' snowflake runtime:builder'); + exec(PHP_BINARY . ' ' . APP_PATH . 'snowflake runtime:builder'); } } diff --git a/System/Process/ServerInotify.php b/System/Process/ServerInotify.php index 43b8632a..6ee2b3b6 100644 --- a/System/Process/ServerInotify.php +++ b/System/Process/ServerInotify.php @@ -249,7 +249,7 @@ class ServerInotify extends Process */ public function trigger_reload() { - exec(PHP_BINARY . ' snowflake runtime:builder', $output); + exec(PHP_BINARY . ' ' . APP_PATH . 'snowflake runtime:builder', $output); var_dump(implode(PHP_EOL, $output)); diff --git a/System/Snowflake.php b/System/Snowflake.php index 41520380..3ce90d46 100644 --- a/System/Snowflake.php +++ b/System/Snowflake.php @@ -533,6 +533,7 @@ class Snowflake * @param string $event * @param null $data * @return false|string + * @throws Exception */ public static function param(string $event, $data = NULL): bool|string {