[ticket/12655] Run the shell when --shell is used

https://tracker.phpbb.com/browse/PHPBB3-12655

PHPBB3-12655