From a47d5054d3e89b5ab71b33783743900430e35830 Mon Sep 17 00:00:00 2001 From: Vikas Kapadiya Date: Thu, 30 Mar 2023 00:37:52 +0530 Subject: [PATCH 1/2] Update shell.bat --- shell.bat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/shell.bat b/shell.bat index bce7afe28..1b6c5b7a1 100644 --- a/shell.bat +++ b/shell.bat @@ -1,2 +1,7 @@ +set php=php -docker-compose exec --user devilbox php /bin/sh -c "cd /shared/httpd; exec bash -l" +if not "%~1"=="" ( + set php=%1 +) + +docker-compose exec --user devilbox %php% /bin/sh -c "cd /shared/httpd; exec bash -l" From fbe8ad2eacaf42d27ded0b40ebbbd7b972490a3e Mon Sep 17 00:00:00 2001 From: Vikas Kapadiya Date: Thu, 30 Mar 2023 00:53:11 +0530 Subject: [PATCH 2/2] Fix issue with the @echo off --- shell.bat | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell.bat b/shell.bat index 1b6c5b7a1..928a0c9b7 100644 --- a/shell.bat +++ b/shell.bat @@ -1,3 +1,5 @@ +@echo off + set php=php if not "%~1"=="" (