Launching Log4OM from Python
Posted: 04 Apr 2016, 01:53
I am trying to launch Log4OM from a Python CGI script. (It is supposed to configure my software operating environment.) The problem is that Log4OM needs Administrator privileges (*) and this seems to be hard to organize in Python (or other scripts?) The subprocess module quits with error "The requested operation requires elevation."
What I want is an operation similar to what a normal user gets when he/she clicks on the desktop shortcut -- a UAC permission dialog. This seems to be hard to accomplish from my program. Does someone here have a suggestion?
I have seen some suggestions using PowerShell, which I have little appetite for. (I'm happier with Linux and Python.) I find that I can use a start command in a BAT file, which is a simple but not very elegant answer. Thanks for any further leads!
73 Martin AA6E
* I have to wonder why Log4OM really can't run as a normal user, at least for a major functional subset...
What I want is an operation similar to what a normal user gets when he/she clicks on the desktop shortcut -- a UAC permission dialog. This seems to be hard to accomplish from my program. Does someone here have a suggestion?
I have seen some suggestions using PowerShell, which I have little appetite for. (I'm happier with Linux and Python.) I find that I can use a start command in a BAT file, which is a simple but not very elegant answer. Thanks for any further leads!
73 Martin AA6E
* I have to wonder why Log4OM really can't run as a normal user, at least for a major functional subset...