Skip to content

Commit

Permalink
Merge pull request #218 from ISISComputingGroup/kill_carepeater_befor…
Browse files Browse the repository at this point in the history
…e_remote

genie uninstall: Kill caRepeater if running
  • Loading branch information
FreddieAkeroyd authored Jan 6, 2025
2 parents 761a23c + ab84c4f commit ef19a7a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions installation_and_upgrade/remove_genie_python.bat
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ if exist "%remove_genie_python_path%" (
REM Checks that "Python_Build_" is in the supplied filepath, so it is a python build.
echo.%remove_genie_python_path% | findstr /C:"Python_Build_">nul && (

REM if caRepeater is running we can't remove directory
del /f "%remove_genie_python_path%\CaRepeater.exe"
if exist "%remove_genie_python_path%\CaRepeater.exe" taskkill /f /im CaRepeater.exe

REM Deletes directory tree + quiet.
RMDIR /S /Q %remove_genie_python_path%

Expand Down

0 comments on commit ef19a7a

Please sign in to comment.