From 0abe7f1de2f277f4415e1d3de688803bb603d46a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 15 Mar 2009 06:35:56 +0900 Subject: [PATCH] add wait kwarg to call() --- ankiqt/ui/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ankiqt/ui/main.py b/ankiqt/ui/main.py index b0991b468..691718dd1 100644 --- a/ankiqt/ui/main.py +++ b/ankiqt/ui/main.py @@ -1996,7 +1996,8 @@ it to your friends. if sys.platform == "win32": # reuse our process handling code from latex anki.latex.call(["explorer", path.encode( - sys.getfilesystemencoding())]) + sys.getfilesystemencoding())], + wait=False) else: QDesktopServices.openUrl(QUrl("file://" + path))