-
Notifications
You must be signed in to change notification settings - Fork 138
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open window when called again #231
Open window when called again #231
Conversation
Nice. Will check it out tomorrow. |
63149da
to
cb26470
Compare
The window opens now when vorta is called again, but the tests fail.
Should we use QThread instead of threading in the standard library? |
QThread is used to run Borg commands and by the scheduler. Need to look at the precise implementation. But good it works in general. |
4486e61
to
bf12aca
Compare
Why close this? Not working or git issues? |
I didn't intend to close it, I am currently working on it. |
Sooo git issues 😅 |
This is the start of an implementation to open the main window, when vorta is called again. (see #132)
One of the simplest methods to do this is to use UNIX sockets, which work on all UNIX-like operating systems. asyncio provides wrappers for both server and client.
However, I do not know how to let the server run in the background so it doesn't block further execution of the program. (see line 45)