Optional Linux sudo elevation compatible with CPython, PyInstaller & Nuitka.Optional Windows UAC elevation module compatible with CPython, PyInstaller & Nuitka.System agnostic functionality, the developer shouldn't carry the burden of Windows & Linux differences.Optional process priority and io_priority settings.Callback once we're finished to easen thread usage.Callback with optional process information so we get to control the process from outside command_runner.Callback to optional stop check so we can stop execution from outside command_runner.Allow stdout/stderr stream output to be redirected to callback functions / output queues / files so you get to handle output in your application while commands are running.Handling of all possible subprocess.popen / subprocess.check_output scenarios / python versions in one handy function without encoding / timeout hassle.While solving various problems a developer may face among: Command_runner Platform agnostic command execution, timed background jobs with live stdout/stderr output capture, and UAC/sudo elevationĬommand_runner's purpose is to run external commands from python, just like subprocess on which it relies,
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |