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):
|
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')
|
||||||
|
|
Loading…
Reference in New Issue