Closed as not planned
Description
Symfony version(s) affected
6.4
Description
Unable to run commands through php -a in git for windows bash
How to reproduce
The following command will not have output
username@host MINGW64 /c/dev
php -a <<- 'EOF'
require __DIR__.'/vendor/autoload.php';
$application = new \Symfony\Component\Console\Application();
$application->run();
EOF
Possible Solution
try changing it to this way
username@host MINGW64 /c/dev
php -a <<- 'EOF'
require __DIR__.'/vendor/autoload.php';
$application = new \Symfony\Component\Console\Application();
putenv('COLUMNS=80');
putenv('LINES=50');
$application->run();
EOF
Additional Context
Tested environment
- OS: windows 11
- PHP: 8.1.26 NTS x64
- Docker: NO
- Shell: Bash
- Symfony version: 6.4