symfony 5 compatibily
This commit is contained in:
parent
9b0ea37cea
commit
6a76926202
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user