diff --git a/qt/aqt/utils.py b/qt/aqt/utils.py index 44416a0ee..2b4a0511d 100644 --- a/qt/aqt/utils.py +++ b/qt/aqt/utils.py @@ -688,7 +688,7 @@ def mungeQA(col: Collection, txt: str) -> str: def openFolder(path: str) -> None: if isWin: - subprocess.Popen(["explorer", f"file://{path}"]) + subprocess.run(["explorer", f"file://{path}"], check=False) else: with noBundledLibs(): QDesktopServices.openUrl(QUrl(f"file://{path}"))