Changing argv of the python process
phd at phd.pp.ru
Thu Aug 16 09:33:01 CEST 2001
On Wed, 15 Aug 2001, Dave Cinege wrote:
> I searched various archives and it appears there is no provision to alter
> the actual argv strings of the python process. Has this not changed
> I'm very surprised python has this (severe) limitation.
It is not severe indeed.
> How does one exec a python program with a password on the cmdline?
Of course NOT! Don't do it even if you can setproctitle - there is an
obvious race condition.
Oleg Broytmann http://phd.pp.ru/ phd at phd.pp.ru
Programmers don't die, they just GOSUB without RETURN.
More information about the Python-list