This could not work, see symfony/symfony#5030 and symfony/symfony#5759

A solution can be to prepend commands with `exec` (as mentioned in the first mention issue)