Open
Description
Feature Request
Command chains are not possible to run without interaction. Chains are only available with human interaction. If the input is not interactive, it never executes the chain.
This listener is stopping when the input isn't interactive:
vendor/laminas/laminas-cli/src/Listener/TerminateListener.php
public function __invoke(ConsoleTerminateEvent $event): void { if ($event->getExitCode() !== 0 || ! $event->getInput()->isInteractive()) { // Here it stops when its not interactive return; }
Q | A |
---|---|
New Feature | yes |
RFC | no |
BC Break | no |
Summary
Execute command chains without interaction, maybe with a --force-chain-execution parameter to not change the past behaviour.