mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 06:45:31 +01:00
This commit is contained in:
parent
690c7ae32c
commit
0983dbeafd
1 changed files with 1 additions and 1 deletions
|
|
@ -375,7 +375,7 @@ def launch(path_or_url):
|
|||
elif isosx:
|
||||
subprocess.Popen(('open', path_or_url))
|
||||
elif iswindows:
|
||||
import win32api
|
||||
win32api = __import__('win32api', globals(), locals(), [], -1)
|
||||
win32api.ShellExecute(0, 'open', path_or_url, None, os.getcwd(), 1)
|
||||
|
||||
def relpath(target, base=os.curdir):
|
||||
|
|
|
|||
Loading…
Reference in a new issue