From 6752cf113893e84bce2edfc61f025ac0f73681ec Mon Sep 17 00:00:00 2001 From: "k.anev" Date: Fri, 12 Jan 2024 13:29:15 +0200 Subject: [PATCH] Update BuildProjectCommand.php --- .../Console/BuildProjectCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Magento/FunctionalTestingFramework/Console/BuildProjectCommand.php b/src/Magento/FunctionalTestingFramework/Console/BuildProjectCommand.php index 33cc4bc71..de61a3f53 100644 --- a/src/Magento/FunctionalTestingFramework/Console/BuildProjectCommand.php +++ b/src/Magento/FunctionalTestingFramework/Console/BuildProjectCommand.php @@ -15,7 +15,7 @@ use Symfony\Component\Console\Input\InputOption; use Symfony\Component\Console\Input\InputInterface; use Symfony\Component\Console\Output\OutputInterface; -use Symfony\Component\Process\Process; +use Symfony\Component\Process\PhpProcess; use Magento\FunctionalTestingFramework\Util\Env\EnvProcessor; use Symfony\Component\Yaml\Yaml; use Magento\FunctionalTestingFramework\Util\Path\FilePathFormatter; @@ -92,7 +92,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int // TODO can we just import the codecept symfony command? $codeceptBuildCommand = realpath(PROJECT_ROOT . '/vendor/bin/codecept') . ' build'; - $process = Process::fromShellCommandline($codeceptBuildCommand); + $process = new PhpProcess($codeceptBuildCommand); $process->setWorkingDirectory(TESTS_BP); $process->setIdleTimeout(600); $process->setTimeout(0);