Skip to content

Difference between the code and the documentation on option create_new_console of Symfony Process #18414

Closed
@spipu

Description

@spipu

Hi,

On this page https://symfony.com/doc/current/components/process.html we can read

The create_new_console option is only available on Windows!

image

But on the code https://github.com/symfony/process/blob/6.3/Process.php#L1180 we can read

Enabling the "create_new_console" option allows a subprocess to continue to run after the main process exited, on both Windows and *nix

image

i checked the code, the method _destruct of the process class has been modified to make it working on linux. I also tested it on debian, and it works.

It is since v5.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions