avoid console popup
This commit is contained in:
parent
0e3794e6a3
commit
e58f5b1e95
1 changed files with 1 additions and 2 deletions
|
@ -369,8 +369,7 @@ def open_folder(folder=None, path=None):
|
|||
cmd += ['xdg-open', folder]
|
||||
elif sys.platform == 'win32':
|
||||
path = '\\'.join(path.split('/'))
|
||||
os.system('explorer.exe /select,"%s"' % path)
|
||||
cmd = []
|
||||
cmd = 'explorer.exe /select,"%s"' % path
|
||||
else:
|
||||
logger.debug('unsupported platform %s', sys.platform)
|
||||
if cmd:
|
||||
|
|
Loading…
Reference in a new issue