summaryrefslogtreecommitdiff
path: root/run.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'run.cmd')
-rw-r--r--run.cmd8
1 files changed, 7 insertions, 1 deletions
diff --git a/run.cmd b/run.cmd
index 5327df4435..0fae662421 100644
--- a/run.cmd
+++ b/run.cmd
@@ -53,9 +53,15 @@ xcopy %~dp0Tools-Override\* %~dp0Tools /y >nul
set _toolRuntime=%~dp0Tools
set _dotnet=%_toolRuntime%\dotnetcli\dotnet.exe
+set _json=%~dp0config.json
+:: run.exe depends on running in the root directory, notably because the config.json specifies
+:: a relative path to the binclash logger
+
+pushd %~dp0
echo Running: %_dotnet% %_toolRuntime%\run.exe %~dp0config.json %*
-call %_dotnet% %_toolRuntime%\run.exe %~dp0config.json %*
+call %_dotnet% %_toolRuntime%\run.exe "%_json%" %*
+popd
if NOT [%ERRORLEVEL%]==[0] (
exit /b 1
)