Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: check if the running process is of the same user
When running SafeEyes in multi-user environments (multiple users running SafeEyes in the same machine), it refuses to start more than two instances of SafeEyes because it is already running accoding to ps. This patch adds a check to the running SafeEyes pid such that the _running() function returns True only if it is running as the same user.
- Loading branch information