mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 22:43:41 +00:00
win: do not close the calling console when build-deps.cmd finishes
A bare exit terminates the whole cmd.exe process, so running build-deps.cmd from a Visual Studio command prompt closed the window on completion and any errors were unreadable. exit /b returns from the script with the same code and leaves the shell open, as prescribed in issue 7413. The script's only other window-closing exit paths already use exit /b. Generated with the assistance of an AI coding tool.
This commit is contained in:
+1
-1
@@ -837,7 +837,7 @@ echo Build ended at %END_TIME%. Time elapsed %hh%:%mm%:%ss%.%cc%.
|
|||||||
:BuildTimeSkipped
|
:BuildTimeSkipped
|
||||||
set PATH=%ORIGINAL_PATH%
|
set PATH=%ORIGINAL_PATH%
|
||||||
cd "%~dp0"
|
cd "%~dp0"
|
||||||
exit %IFCOS_SCRIPT_RET%
|
exit /b %IFCOS_SCRIPT_RET%
|
||||||
|
|
||||||
::::::::::::::::::::::::::::::::::::: Subroutines :::::::::::::::::::::::::::::::::::::
|
::::::::::::::::::::::::::::::::::::: Subroutines :::::::::::::::::::::::::::::::::::::
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user