From 6a76926202f2bdcce29f69613a663a9cf8b52fef Mon Sep 17 00:00:00 2001 From: denisdulici Date: Mon, 16 Mar 2020 19:35:58 +0300 Subject: [PATCH] symfony 5 compatibily --- app/Utilities/Console.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Utilities/Console.php b/app/Utilities/Console.php index 7608d75b2..3e0e5d495 100644 --- a/app/Utilities/Console.php +++ b/app/Utilities/Console.php @@ -8,7 +8,7 @@ class Console { public static function run($command, $all_output = false, $timeout = 0) { - $process = new Process($command, base_path()); + $process = Process::fromShellCommandline($command, base_path()); $process->setTimeout($timeout); $process->run();