From 1e4f91384776250ba3e5335c336bdad2ce3e0934 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Thu, 17 Aug 2023 23:36:18 +0200 Subject: [PATCH] * lyxpaperview.py - non-waiting process call for all cases. --- lib/scripts/lyxpaperview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scripts/lyxpaperview.py b/lib/scripts/lyxpaperview.py index 32f83ead3b..1eb867a416 100755 --- a/lib/scripts/lyxpaperview.py +++ b/lib/scripts/lyxpaperview.py @@ -141,7 +141,7 @@ def main(argv): cmdline = viewer.split(" -", 1) if len(cmdline) == 1: - subprocess.call([viewer, result]) + subprocess.Popen([viewer, result], stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL) elif len(cmdline) == 2: subprocess.Popen([cmdline[0], "-" + cmdline[1] , result], stderr=subprocess.DEVNULL, stdout=subprocess.DEVNULL) -- 2.39.5