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]
|
cmd += ['xdg-open', folder]
|
||||||
elif sys.platform == 'win32':
|
elif sys.platform == 'win32':
|
||||||
path = '\\'.join(path.split('/'))
|
path = '\\'.join(path.split('/'))
|
||||||
os.system('explorer.exe /select,"%s"' % path)
|
cmd = 'explorer.exe /select,"%s"' % path
|
||||||
cmd = []
|
|
||||||
else:
|
else:
|
||||||
logger.debug('unsupported platform %s', sys.platform)
|
logger.debug('unsupported platform %s', sys.platform)
|
||||||
if cmd:
|
if cmd:
|
||||||
|
|
Loading…
Reference in a new issue