10000 Process Component add support for option "create_new_console" · Issue #36583 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content
Process Component add support for option "create_new_console" #36583
Closed
@andrei0x309

Description

@andrei0x309

Description
I saw that PHP has added in version 7.4.4 the option "create_new_console" for the function proc-open.php (https://www.php.net/manual/en/function.proc-open.php), "create_new_console" can totally change the behavior of proc-open.php on windows so it may be important for some users.

This is the description of the option:

create_new_console (windows only): the new process has a new console, instead of inheriting its parent's console

From what I've seen The symfony Process component doesn't support this option.
And I think it can be implemented very easily.

In fact I think Process::start should have an additional parameter [] in order to pass (other_options) to proc-open.

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

      0