[PATCH] sys.modify_argv()

Ignacio Vazquez-Abrams ignacio at openservices.net
Sat Aug 25 05:17:00 CEST 2001


On Fri, 24 Aug 2001, Dave Cinege wrote:

> keywords: modify argv change process listing argv[0] ps output
>
> This patch adds a new feature to the sys module, modify_argv().
> As you might have guessed this allows one to change to absolute
> argv values of the python process itself. (It is of great wonder
> to me why this functionality is not already available...)

Instead of making a whole new function for this, why not add write capability
to sys.argv?

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>





More information about the Python-list mailing list