Skip to content

Commit ab84c4f

Browse files
Kill caRepeater if running
1 parent 761a23c commit ab84c4f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

installation_and_upgrade/remove_genie_python.bat

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ if exist "%remove_genie_python_path%" (
1313
REM Checks that "Python_Build_" is in the supplied filepath, so it is a python build.
1414
echo.%remove_genie_python_path% | findstr /C:"Python_Build_">nul && (
1515

16+
REM if caRepeater is running we can't remove directory
17+
del /f "%remove_genie_python_path%\CaRepeater.exe"
18+
if exist "%remove_genie_python_path%\CaRepeater.exe" taskkill /f /im CaRepeater.exe
19+
1620
REM Deletes directory tree + quiet.
1721
RMDIR /S /Q %remove_genie_python_path%
1822

0 commit comments

Comments
 (0)