Skip to content
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

Version 2.2 Ctrl+C for autorun #89

Open
svladimirs opened this issue Mar 13, 2018 · 4 comments
Open

Version 2.2 Ctrl+C for autorun #89

svladimirs opened this issue Mar 13, 2018 · 4 comments

Comments

@svladimirs
Copy link

If we start program with 'run' ctrl+с works normal: close client and stop itself. But if we start program with 'autorun' ctrl+c simple terminate server without stop client. Is it normal?

@rom1v
Copy link
Collaborator

rom1v commented Mar 13, 2018

Yes, it is expected, although it may seem inconsistent.

The idea of run is to run on exactly one device, so it makes sense to stop it afterwards.
On the contrary, autorun starts gnirehtet on every device connected, which may be different between the start and the instant when you press Ctrl+C.

@svladimirs
Copy link
Author

Thank you for reply. And thank you very much for gnirehtet!
Ctrl+C may stop all clients on all connected devices and stop + close server...
If we want stop sameone of all clients, I think may be bind new keys combinations: ctrl+0, ctrl+1 for divice 0, 1 and so on. But I do not know what about client #10 and more.

Second side. When we disconnect device, may be client automatically stop (optional)? Now app continue work.
I want reduce to simple actions: connect and disconnect. Set gnirehtet on startup of windows and forget it. Every day I want only connect my device, use internet and disconnect without stop client manually.
Is it real?

@rom1v
Copy link
Collaborator

rom1v commented Mar 13, 2018

When we disconnect device, may be client automatically stop (optional)?

It could, one implemented 😉. See #51

@svladimirs
Copy link
Author

Sorry for my english.. Ctrl+c always close server (run and autorun) for all devices? Why you don't want stop all clients before close server?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants