Skip to content

Commit ef19a7a

Browse files
Merge pull request #218 from ISISComputingGroup/kill_carepeater_before_remote
genie uninstall: Kill caRepeater if running
2 parents 761a23c + ab84c4f commit ef19a7a

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)