This commit is contained in:
Kovid Goyal 2012-09-06 11:43:31 +05:30
parent 4fa3eed8f6
commit 98b197e01b

View file

@ -488,6 +488,11 @@ def another_instance_wants_to_talk(self):
msg = self.listener.queue.get_nowait()
except Empty:
return
except:
prints('Received invalid message from another instance')
import traceback
traceback.print_exc()
return
if msg.startswith('launched:'):
argv = eval(msg[len('launched:'):])
if len(argv) > 1: