Can I change effective process name of a Python script? I want to show a different name instead of the real name of the process when I get the system process list. In C I can set
But in Python
argv = "othername"
doesn't seem to work. When i get process list (with
ps ax in my linux box) the real name doesn't change. I prefer a portable solution (or else one solution for posix and another for windows environments), if it exists.
Thanks in advance