spawnle & umask

Yves Glodt y.glodt at sitasoftware.lu
Thu Dec 8 09:09:58 EST 2005


David Wahler wrote:
> Yves Glodt wrote:
>> It does, I did like this:
>>
>> os.umask(0113)
>> newpid =
>> os.spawnl(os.P_NOWAIT,'/usr/local/bin/wine','/usr/local/bin/wine',executable)
>>
>> But I wanted to use spawnle and it's env argument, to avoid setting
>> umask manually...
> 
> The umask is not part of the environment, so there's no way to set it
> directly through spawnle.

ok

 > Why don't you want to use os.umask?

Only because I thought spawnle could set it through env...
But as it can't I will now go with os.umask.

thanks,
Yves

> -- David
> 



More information about the Python-list mailing list