find the php binary in console

This commit is contained in:
denisdulici
2020-03-19 17:18:19 +03:00
parent 9748b48e59
commit 437cbd323d
5 changed files with 23 additions and 5 deletions

View File

@ -59,7 +59,7 @@ class UpdateAll extends Command
$company_id = $this->argument('company');
$command = "php artisan update {$alias} {$company_id}";
$command = "update {$alias} {$company_id}";
if (true !== $result = Console::run($command, true)) {
$message = !empty($result) ? $result : trans('modules.errors.finish', ['module' => $alias]);