* lyxpaperview.py - non-waiting process call for all cases.

This commit is contained in:
Pavel Sanda 2023-08-17 23:36:18 +02:00
parent 5d084c86c9
commit 1e4f913847

View File

@ -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)