startfile() instead of system() for windows

This commit is contained in:
Nikos Kouremenos 2006-03-27 13:42:28 +00:00
parent a541c5f426
commit cc9a147dc0
1 changed files with 1 additions and 1 deletions

View File

@ -566,7 +566,7 @@ class RosterWindow:
def on_history_manager_menuitem_activate(self, widget): def on_history_manager_menuitem_activate(self, widget):
if os.name == 'nt': # FIXME: test it actually works.. if os.name == 'nt': # FIXME: test it actually works..
if os.path.exists('history_manager.exe'): # he's running stable 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 else: # he is svn user
try: try:
os.startfile('history_manager.py') os.startfile('history_manager.py')