Skip to content

Commit

Permalink
Migrated code from symfony/process to react/child-process
Browse files Browse the repository at this point in the history
  • Loading branch information
gplanchat committed Nov 21, 2023
1 parent 5b9b4af commit 8ea8526
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Console/Command/RunCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ private function dataflowWorker(Console\Style\SymfonyStyle $style, string $cwd,
$command = ['php', '-r', '--'];

$process = new Process(implode (' ', array_map(fn ($part) => escapeshellarg($part), $command)), $cwd);
$process->start();

$input->pipe($process->stdin);

Expand Down

0 comments on commit 8ea8526

Please sign in to comment.