The question can be what is the info that allow mate to know when the app is started. in gambas the command line and the pid label are different. All the gambas programs have the same processus name... gbr3. This is maybe the problem... I'm curious to know if you have same problem with a python gui program.