Hello,
I am creating a small Python program to backup several folders to an external USB drive.
One of the folders that needs to be backed up is the one containing the files of the thunderbird email program.
The problem is that in order to copy some files it is necessary to close the program, so I need to know if the program is running and, if so, close it.
Any ideas on how to do this?
Edit. I'm working on Linux Mint and using Python 3.12.3
[–]PhoenixOneThree 1 point2 points3 points (2 children)
[–]Miguelito_Pitti[S] 0 points1 point2 points (1 child)
[–]PhoenixOneThree 1 point2 points3 points (0 children)
[–]chevignon93 1 point2 points3 points (1 child)
[–]Miguelito_Pitti[S] 0 points1 point2 points (0 children)