N
News123
Hi,
I have a small python script, which has been started as normal non
privileged user.
At a later point in time it would like to start another python script
with elevated privileges.
How can I write my code such, that I will get the privilege elevation
prompt and I can start a sub process / python function with elevated
privileges.
thanks for any hints.
Under Linux Ubuntu I would use sudo/gksu
Under Windows 7 I'm a little lost.
A Python only solution is of course prefered, but any .bat .c .C# .cmd
wrapper would be fine.
N
I have a small python script, which has been started as normal non
privileged user.
At a later point in time it would like to start another python script
with elevated privileges.
How can I write my code such, that I will get the privilege elevation
prompt and I can start a sub process / python function with elevated
privileges.
thanks for any hints.
Under Linux Ubuntu I would use sudo/gksu
Under Windows 7 I'm a little lost.
A Python only solution is of course prefered, but any .bat .c .C# .cmd
wrapper would be fine.
N