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 > -- http://mail.python.org/mailman/listinfo/python-list