Re: Detect if specific Python.app instance is already running

2015-06-12 Thread Ned Deily
In article <[email protected]>, Andrei wrote: > On Monday, June 8, 2015 at 1:08:07 AM UTC+2, Ned Deily wrote: > > In article <[email protected]>, > > Andrei wrote: > > > Alright, I have had some development in > > > http:/

Re: Detect if specific Python.app instance is already running

2015-06-08 Thread Laura Creighton
I needed to do something like this once. What I needed was a way to send a process a signal, and have it then spit out a huge amount of stats about how long it had been running, how many page faults it had suffered, and, goodness, I forget all the information that was needed. Lots. So I just wra

Re: Detect if specific Python.app instance is already running

2015-06-08 Thread Andrei
On Monday, June 8, 2015 at 1:08:07 AM UTC+2, Ned Deily wrote: > In article <[email protected]>, > Andrei wrote: > > Alright, I have had some development in > > http://stackoverflow.com/questions/30694560/detect-if-specific-python-app-inst > > ance-is-already-ru

Re: Detect if specific Python.app instance is already running

2015-06-07 Thread Ned Deily
In article <[email protected]>, Andrei wrote: > Alright, I have had some development in > http://stackoverflow.com/questions/30694560/detect-if-specific-python-app-inst > ance-is-already-running and can prevent running multiple instances of the > same app/scr

Re: Detect if specific Python.app instance is already running

2015-06-07 Thread Andrei
Alright, I have had some development in http://stackoverflow.com/questions/30694560/detect-if-specific-python-app-instance-is-already-running and can prevent running multiple instances of the same app/script (by lockf), but I still need to identify which Python.app instance is running certain s