Skip to content

[Process] RuntimeException: "Unable to launch a new process." #59677

@Superprogrameur59

Description

@Superprogrameur59

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 :

Image

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 :

Image

Possible Solution

I am guessing the problem is in prepareWindowsCommandLine()

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy