setprocname
MRAB
python at mrabarnett.plus.com
Mon Jun 14 15:43:25 EDT 2010
Grant Edwards wrote:
> On 2010-06-14, Tomasz Pajor <nikon at puffy.pl> wrote:
>
>> Why there is no setprocname function in standard library, or am I
>> missing something?
>
> Dunno. Before we start guessing, would you care to explain what you
> think "setprocname" ought to do?
>
I think it's to set the name of the OS process.
On Windows, for example, all Python processes are called "python.exe" or
"pythonw.exe", so if you have several running it's not clear which is
which.
Have a look at:
http://bugs.python.org/issue5672
More information about the Python-list
mailing list