elevate icon indicating copy to clipboard operation
elevate copied to clipboard

Python library for requesting root privileges

Results 17 elevate issues
Sort by recently updated
recently updated
newest added

Hello. After I use elevate in a python program with tkinter I get an error: > tkinter.TclError: no display name and no $DISPLAY environment variable DISPLAY variable is lost after...

Hello, I am writing a python desktop GUI application and I wanted to embed a small installer into it. The idea is, when the user clicks on the install button,...

Hey! This looks pretty awesome will solve a issue I've been having with a app. I'm having trouble with your example, I get this error after entering my password: /usr/bin/python:...

for GUI apps .policy / $DISPLAY, $XAUTHORITY env vars are required, these changes remove the need for them.

I get this error: `/usr/bin/python3: can't open file 'setup.py': [Errno 2] No such file or directory` when trying to run `elevate(show_console=False, graphical=True)`. Why? File name is `setup.py` and I'm in...

I would really like to change the User via Parameters. Would be a great addition IMHO. I would already have an Implementation for Unix-Based Systems (except applescript).

Is it possible to preserve environment variables when elevating the permissions?

It would be great if we could pass additional parameters to the respawned process (this can be used to control the flow of the appication) ``` elevate(["--skipPostPorcess"]) ```

Hi Barney, I'm happy to have found this Python module. Thank you so much! I included the functionality into my project and found `sys.argv` in [windows.py](https://github.com/barneygale/elevate/blob/master/elevate/windows.py#L75) evaluates to `['D:\path_to_my\script.py']`. Since...