Skip to content

[3.3][Process] BC break: exec seems always preprend #23495

@lyrixx

Description

@lyrixx
Q A
Bug report? yes
Feature request? no
BC Break report? yes
RFC? no
Symfony version 3.3.0

The previous code worked on symfony < 3.3.0 and is now broken:

$builder = new ProcessBuilder([
    'command',
    '-v',
    'notify-send',
]);

I guess this is due to the (auto) prefixing of the exec command. So now, the buildin shell function command is not available anymore

ref: jolicode/JoliNotif#37

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions