From eb62d5b69defb2c84796583fb501739356751db8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20Planchat?= Date: Tue, 21 Nov 2023 17:52:26 +0100 Subject: [PATCH] Migrated code from symfony/process to react/child-process --- src/Console/Command/RunCommand.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Console/Command/RunCommand.php b/src/Console/Command/RunCommand.php index ad13edfc..c1bf45ba 100644 --- a/src/Console/Command/RunCommand.php +++ b/src/Console/Command/RunCommand.php @@ -96,6 +96,7 @@ private function pipelineWorker(Console\Style\SymfonyStyle $style, string $cwd, new \Kiboko\Component\Pipeline\PipelineRunner( new \Psr\Log\NullLogger() ), + new \Kiboko\Contract\Pipeline\NullState(), ), ); @@ -162,7 +163,7 @@ private function workflowWorker(Console\Style\SymfonyStyle $style, string $cwd, } \$runtime = new \Kiboko\Component\Runtime\Workflow\Console( - new \Symfony\Component\Console\Output\StreamOutput(STDOUT), + new \Symfony\Component\Console\Output\StreamOutput(fopen('php://stdout', 'w')), new \Kiboko\Component\Pipeline\PipelineRunner( new \Psr\Log\NullLogger() ),