How to ensure a single instance of python application on Linux and present the main window when user tries to start it again?

275 views Asked by At

I'm building up a pygtk application on linux. I've managed to use the technique described here Ensure a single instance of an application in Linux to ensure that only one instance is running.

But what I want now is that when user try to start the application again, the main window of the initial application is brought up instead of any error message.

0

There are 0 answers