Changing argv of the python process

Paul Rubin phr-n2001 at
Sun Aug 19 22:03:01 CEST 2001

gradha at writes:
> Doing this is silly, stupid, a security breach, <put here expelletive>, etc.
> Don't you see a password on a commandline can be seen by other tools of
> the same operative system? On Unix is as easy as running "ps aux". Under
> Windows I had once used similar tools to watch processes and their system
> information.

If there's no other users on the system at the time when the program
starts running, but users can log on later, then putting the password
on the command line at program startup might be reasonable.  Starting
up a server at system boot time could be an example.

More information about the Python-list mailing list