diff --git a/shell.bat b/shell.bat index bce7afe28..928a0c9b7 100644 --- a/shell.bat +++ b/shell.bat @@ -1,2 +1,9 @@ +@echo off -docker-compose exec --user devilbox php /bin/sh -c "cd /shared/httpd; exec bash -l" +set php=php + +if not "%~1"=="" ( + set php=%1 +) + +docker-compose exec --user devilbox %php% /bin/sh -c "cd /shared/httpd; exec bash -l"