This repository was archived by the owner on Mar 9, 2024. It is now read-only.
This repository was archived by the owner on Mar 9, 2024. It is now read-only.
Issues with Process class and fromShellCommandline method in Laravel 8 #101
Open
Description
Hi there,
I've been using the laravel-async-queue library in my Laravel 8 project, and I've encountered an issue with the Process class. Specifically, the startProcess method of Barryvdh\Queue\AsyncQueue appears to be using the new Process([$command], $cwd) syntax, which doesn't seem to work as intended. The process never executes when called this way.
However, I found that when I changed the code to use the fromShellCommandline method, the process executes successfully in the background. Here's the working code:
$process = Process::fromShellCommandline($command, $cwd, $_ENV);
Metadata
Metadata
Assignees
Labels
No labels