mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-02-23 11:40:06 -05:00
...
This commit is contained in:
parent
dd73ab1b45
commit
c961124e02
@ -166,7 +166,7 @@ if iswindows:
|
||||
argv = winutil.parse_cmdline(cmdline)
|
||||
exe = argv[0]
|
||||
rest = subprocess.list2cmdline(argv[1:])
|
||||
print('Running Open With commandline:', repr(entry['cmdline']), ' |==> ', exe, repr(rest))
|
||||
print('Running Open With commandline:', repr(entry['cmdline']), ' |==> ', exe, rest)
|
||||
try:
|
||||
with sanitize_env_vars():
|
||||
os.startfile(exe, 'open', rest)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user