We need to enhance ShellProcess to be able to
a) find the executable of 'composer' before running composer require or composer update
b) execute the composer processes in TTY mode, the current ::exec method is not enough
In this PR I am proposing to introduce a ::findExecutable and a ::execTty methods.
@enzolutions this is a preliminary PR while working on https://github.com/hechoendrupal/drupal-console/issues/4180
We need to enhance ShellProcess to be able to a) find the executable of 'composer' before running
composer require
orcomposer update
b) execute the composer processes in TTY mode, the current::exec
method is not enoughIn this PR I am proposing to introduce a
::findExecutable
and a::execTty
methods.A PR for https://github.com/hechoendrupal/drupal-console/issues/4180 will follow in the next few days in the hechoendrupal/drupal-console repo.