| Davyd ( @ 2006-02-10 11:10:00 |
Changing process name in Python
Following on from Aaron, I implemented the same thing in Python for Deskbar.
Some people may have misunderstood what Aaron was telling them. The prctl() call doesn't change your entry in the process listing (you need to fiddle with your argv to do that - have not worked out how to do this in Python yet); prctl() only allows you to change the name that you use with killall.
Still searching for the complete solution though.
Following on from Aaron, I implemented the same thing in Python for Deskbar.
Some people may have misunderstood what Aaron was telling them. The prctl() call doesn't change your entry in the process listing (you need to fiddle with your argv to do that - have not worked out how to do this in Python yet); prctl() only allows you to change the name that you use with killall.
Still searching for the complete solution though.