Open Sam-Hall opened 9 years ago
On Windows, I have created a wrapper process that does the following:
If hidemu terminates, it repeats the process.
This allows multiple users to run hidemu on the same machine as only the wrapper process running on the active desktop will try to start hidemu. It's unlikely I'll get around to porting this to python anytime soon though.
Switching users immediately results in a ListReadersException, which currently kills the process.
The fix would involve waiting until the user switches back then attempting to re-establish a connection with the reader. So far implementing this hasn't worked out so well, PyScard continues throwing ListReadersException until the process is restarted. May have to reload PyScard some how.