Fwd: why ps/fname of a python interpreter changes across platforms?
yasar11732 at gmail.com
Fri Sep 16 13:34:37 CEST 2011
---------- Yönlendirilmiş ileti ----------
Kimden: Yaşar Arabacı <yasar11732 at gmail.com>
Tarih: 16 Eylül 2011 14:33
Konu: Re: why ps/fname of a python interpreter changes across platforms?
Kime: Steven D'Aprano <steve+comp.lang.python at pearwood.info>
For example, in arch linux, I had 3 different interpreters named python,
python26 and python27 because some of the applications needed one, and some
needed others. That might be the reason.
2011/9/16 Steven D'Aprano <steve+comp.lang.python at pearwood.info>
> keobox wrote:
> > Hello,
> > I'm writing a little supervisor of some python scripts.
> > To check if the scrips are running I'm using the ps -o pid,fname
> > command on both RH Linux and solaris 10.
> > All the scripts are launched using "python script.py" command, they
> > are not launched with exec permissions.
> > I don't know why the fname of the python interpreter changes across
> > platforms.
> Ask the person who built the system, or the people who made the
> distribution. They are free to name the Python executable anything they
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-list