Backup icon indicating copy to clipboard operation
Backup copied to clipboard

Update symfony/process

Open slzno opened this issue 5 years ago • 3 comments

Update symfony/process to version 5.1 error in laravel 7.x

slzno avatar Jul 27 '20 15:07 slzno

Hi,

What is the issue you are facing? What error are you seeing?

bradcornford avatar Jul 29 '20 07:07 bradcornford

conflict with symfony/process 4.x

slzno avatar Jul 31 '20 01:07 slzno

As I recall the problem is on line 108 of BackupProcess with the line:

$this->processInstance->setCommandLine($command);

The latest version of symphony/process no longer has this command and when using Laravel 8 you cannot be also using symphony/process 4.

The command line is now set when you instantiate the Process object. That in turn means that most of the code around sending the command to the shell will need to be rewritten.