Fix GUI Freezing while running pre-backup command
Description
This PR fixes the GUI freezing bug while running pre-backup command, if the command takes time, the GUI freezes until the command finishes.
Related Issue
Fixes #210
How Has This Been Tested?
I tested the change using a couple of scripts, and I made sure that the script itself will finish completely before backup starts executing.
Screenrecord:
https://github.com/user-attachments/assets/4f9bdab9-8a17-4d4d-b95b-05d88f9f320a
Types of changes
- [x] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
- [x] I have read the CONTRIBUTING guide.
- [x] My code follows the code style of this project.
- [ ] My change requires a change to the documentation.
- [ ] I have updated the documentation accordingly.
- [ ] I have added tests to cover my changes.
- [ ] All new and existing tests passed.
I provide my contribution under the terms of the license of this repository and I affirm the Developer Certificate of Origin.
Elegant solution. Well done!
Minor issue with formatting. Did you use the pre-commit hooks?
Minor issue with formatting. Did you use the pre-commit hooks?
Done