[PATCH] sys.modify_argv()

Oleg Broytmann phd at phd.pp.ru
Sat Aug 25 05:25:09 EDT 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().

   There is no sense to do it on Mac, or Windows. Such manipulation is only
meaningful on UNIX systems, hence your ptch should go into posix module,
not sys.

   Second, it is too linux-oriented. Other UNIX systems use different ways
to change ps output. Sendmail sources is the best place to look at, and
there is different code in PostgreSQL.

Oleg.
----
     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 mailing list