sjdevn...@yahoo.com wrote:
> On Feb 4, 2:05 pm, Tomas Pelka wrote:
>> -BEGIN PGP SIGNED MESSAGE-
>> Hash: SHA1
>>
>> Hey,
>>
>> is there possibility how to run part of my code (function for example)
>> as superuser.
>>
>> Or only way how to do this is create a wrapper and run is with Popen
On Feb 4, 2:05 pm, Tomas Pelka wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> Hey,
>
> is there possibility how to run part of my code (function for example)
> as superuser.
>
> Or only way how to do this is create a wrapper and run is with Popen
> through sudo (but I have to configu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hey,
is there possibility how to run part of my code (function for example)
as superuser.
Or only way how to do this is create a wrapper and run is with Popen
through sudo (but I have to configure sudo to run "whole" python as root).
Thanks for advi