[New-bugs-announce] [issue5672] Implement a way to change the python process name

Marcelo Fernández <report@bugs.python.org> at psf.upfronthosting.co.za Marcelo Fernández <report@bugs.python.org> at psf.upfronthosting.co.za
Thu Apr 2 21:38:04 CEST 2009

New submission from Marcelo Fernández <fernandezm22 at yahoo.com.ar>:

As python gains more popularity, more and more applications run under
CPython in a common user desktop. The problem is that if a user has 2 or
more python apps running there is no way to identify them correctly from
the generic "Task/Process Manager Application" (in Windows/Linux/OSX/any
OS), because all appear as a "python" process. Take Ubuntu for an example. 

There are more cases when this is annoying:

- Imagine two python process (doing different things, of course) sending
messages to syslog: looks like all coming from "python" process.
- A bash script which wants to "killall" one application: how can it
identify a given python script between two or more "python" processes?

There are some methods [1][2] to work around it, but there are not just
Linux/BSD only, moreover, there are not included in the python standard

[1] http://davyd.livejournal.com/166352.html
[2] http://code.google.com/p/procname/

I hope this issue gets considered in the community to fix it, I really
think this is important... :-)


components: Extension Modules
messages: 85252
nosy: marcelo_fernandez
severity: normal
status: open
title: Implement a way to change the python process name
type: feature request

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list