why ps/fname of a python interpreter changes across platforms?

Steven D'Aprano steve+comp.lang.python at pearwood.info
Fri Sep 16 07:13:43 EDT 2011


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
like.



-- 
Steven




More information about the Python-list mailing list