[Python-porting] main() -> Py_SetProgramName()
Antoine Pitrou
solipsis at pitrou.net
Sat Dec 8 10:40:32 CET 2012
More information about the Python-porting mailing list
Sat Dec 8 10:40:32 CET 2012
- Previous message: [Python-porting] main() -> Py_SetProgramName()
- Next message: [Python-porting] main() -> Py_SetProgramName()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
M.-A. Lemburg <mal at ...> writes: > > There's also another issue with the approach, since changing the > **argv from within Python is no longer possible on non-Windows > platforms. > > This doesn't only affect embedded uses of Python, but all other > uses as well, e.g. it's no longer possible to change the ps output > under Unix for daemons and the like. setproctitle is your friend: http://pypi.python.org/pypi/setproctitle Regards Antoine.
- Previous message: [Python-porting] main() -> Py_SetProgramName()
- Next message: [Python-porting] main() -> Py_SetProgramName()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-porting mailing list