startfile() instead of system() for windows
This commit is contained in:
parent
a541c5f426
commit
cc9a147dc0
|
@ -566,7 +566,7 @@ class RosterWindow:
|
|||
def on_history_manager_menuitem_activate(self, widget):
|
||||
if os.name == 'nt': # FIXME: test it actually works..
|
||||
if os.path.exists('history_manager.exe'): # he's running stable
|
||||
os.system('history_manager.exe')
|
||||
os.startfile('history_manager.exe')
|
||||
else: # he is svn user
|
||||
try:
|
||||
os.startfile('history_manager.py')
|
||||
|
|
Loading…
Reference in New Issue