-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Open
Description
Symfony version(s) affected
6.4
Description
On windows 10, PHP 8.2.23 and Symfony 6.4.12,
the process component is "Unable to launch a new process.":
|CRITICA| REQUES Uncaught PHP Exception Symfony\Component\Process\Exception\RuntimeException: "Unable to launch a new process." at Process.php line 350
How to reproduce
Using "symfony server:start" to start the app in local environnement.
I am trying a simple usage of the component, and the component is unable to launch the process :
In debug mode, I see that the component is using prepareWindowsCommandLine() function before proc_open() native PHP function.
So I tried using directly proc_open(), and it is working :
Possible Solution
I am guessing the problem is in prepareWindowsCommandLine()
Additional Context
No response