1

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.

Community
  • 1
  • 1
Wei Qiu
  • 886
  • 9
  • 16
  • There are several techniques described in the page to which you have linked. Which technique are you using? – Robᵩ Sep 11 '13 at 21:37
  • I'm using pid file. And I think the solution based on fcntl is using the same idea. Basically I need a way to send a message to the previous process to tell it to bring up the main window. – Wei Qiu Sep 12 '13 at 10:13

0 Answers0