Use Symfony Process instead of proc_open.