mirror of
https://github.com/Garmelon/PFERD.git
synced 2023-12-21 10:23:01 +01:00
Joscha
552cd82802
Run async input and password getters in daemon thread
Previously, it ran in the event loop's default executor, which would block until all its workers were done working. If Ctrl+C was pressed while input or a password were being read, the asyncio.run() call in the main thread would be interrupted however, not the input thread. This meant that multiple key presses (either enter or a second Ctrl+C) were necessary to stop a running PFERD in some circumstances. This change instead runs the input functions in daemon threads so they exit as soon as the main thread exits.
PFERD
Programm zum Flotten, Einfachen Runterladen von Dateien
Other resources:
Installation with pip
Ensure you have at least Python 3.8 installed. Run the following command to install PFERD or upgrade it to the latest version:
$ pip install --upgrade git+https://github.com/Garmelon/PFERD@latest
The use of venv is recommended.
Description
Languages
Python
99.3%
Nix
0.5%
Shell
0.2%