Skip to content

Commit 6752cf1

Browse files
author
k.anev
committed
Update BuildProjectCommand.php
1 parent 1385ef6 commit 6752cf1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Magento/FunctionalTestingFramework/Console/BuildProjectCommand.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Console\Input\InputOption;
1616
use Symfony\Component\Console\Input\InputInterface;
1717
use Symfony\Component\Console\Output\OutputInterface;
18-
use Symfony\Component\Process\Process;
18+
use Symfony\Component\Process\PhpProcess;
1919
use Magento\FunctionalTestingFramework\Util\Env\EnvProcessor;
2020
use Symfony\Component\Yaml\Yaml;
2121
use Magento\FunctionalTestingFramework\Util\Path\FilePathFormatter;
@@ -92,7 +92,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
9292

9393
// TODO can we just import the codecept symfony command?
9494
$codeceptBuildCommand = realpath(PROJECT_ROOT . '/vendor/bin/codecept') . ' build';
95-
$process = Process::fromShellCommandline($codeceptBuildCommand);
95+
$process = new PhpProcess($codeceptBuildCommand);
9696
$process->setWorkingDirectory(TESTS_BP);
9797
$process->setIdleTimeout(600);
9898
$process->setTimeout(0);

0 commit comments

Comments
 (0)