Skip to content
Snippets Groups Projects
Commit ada5753c authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

detect correctly running instances under win with built version. fixes #3050

parent c9aa4012
No related branches found
No related tags found
No related merge requests found
...@@ -267,7 +267,7 @@ def pid_alive(): ...@@ -267,7 +267,7 @@ def pid_alive():
return b.contents.szExeFile return b.contents.szExeFile
f = k.Process32Next(h, b) f = k.Process32Next(h, b)
if get_p(pid) == 'python.exe': if get_p(pid) in ('python.exe', 'gajim.exe'):
return True return True
return False return False
try: try:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment