The missing sudo command for win32
Project description
sudo-win32
This missing sudo command for win32. Thin wrapper over gsudo
. Check out the excellent repo here.
Usage
> pip install sudo_win32[sudo]
> sudo taskkill /F /im wslservice.exe
If you omit [sudo] then the command will just be sudo_win32
.
Development
To develop software, run . ./activate.sh
Windows
This environment requires you to use git-bash
.
Linting
Run ./lint.sh
to find linting errors using pylint
, flake8
and mypy
.
Release Notes
- 1.0.6 - Switch the implementation to
gsudo
, which is excellent and does everything this lib needs. - 1.0.5 - sudo-win32[sudo] now works correctly, before it was unconditionally installing.
- 1.0.3 - The stdout/stderr are now correct re-routed back.
- 1.0.2 - The return value of the command is now returned when elevating privledges.
- 1.0.1 - Fixing the readme
- 1.0.0 - Initial release
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sudo-win32-1.0.6.tar.gz
(1.8 MB
view hashes)
Built Distribution
Close
Hashes for sudo_win32-1.0.6-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3a07dbbe3a4052d51c677dc6332ff105afa49ecbad2b1f79ccd13ab00bbfd59 |
|
MD5 | f6a0dba8b01d2879e86e00397f9781fb |
|
BLAKE2b-256 | 7f3ffbeecc7cc2a306e46e838771b1cf010783e68932568ba510cae49c81b0f4 |