Use Symfony Process working directory instead of changing directory