As title. Tested
php-cgi ./console list,
php-cgi ./console help tests:run,
php-cgi ./console test:run Core_OptionsTest and
php-cgi ./console core:archive --url=localhost. No output received on last one, but logs show archiving succeeded.
What do you think @tsteur?
I implemented something similar a while ago and didn't commit as there were more issues I think but don't remember which ones. Maybe it was the problem with input/output.
If input / output doesn't work I'd probably still prefer to leave the previous check and do not allow usage of CGI with Console as people might think it is broken etc. Some commands ask for input and it would just not work for them. Also not getting output might be annoying especially when there is an error.
I got input from stdin to work, (tested w/
php-cgi generate:plugin). The lack of output for core:archive was due to CronArchive.php bug. Can you think of anything else to test @tsteur ?
I looked for the Symfony page re CGI support but can't find it anymore. Was hoping to find some more infos re possible issues there. As I said I don't remember which problems I ran into that time... :(
Hi @diosmosis since you seem to have tested all use cases for console, it looks good to me to add it & wait for user feedback! some 1&1 users don't have CLI and only CGI so hopefully this does the trick for them :+1: