]> git.lyx.org Git - features.git/commitdiff
lyxpaperview - don't wait for the process to finish
authorPavel Sanda <sanda@lyx.org>
Fri, 24 Feb 2023 19:26:35 +0000 (20:26 +0100)
committerPavel Sanda <sanda@lyx.org>
Fri, 24 Feb 2023 19:26:35 +0000 (20:26 +0100)
lib/scripts/lyxpaperview.py

index f531b86e9623c420c54b86007b64a860348bc976..19d9955156a3f4ffb5f7dc9bda6340daf34103c1 100755 (executable)
@@ -143,7 +143,7 @@ def main(argv):
     if len(cmdline) == 1:
         subprocess.call([viewer, result])
     elif len(cmdline) == 2:
-        subprocess.call([cmdline[0], "-" + cmdline[1] , result])
+        subprocess.Popen([cmdline[0], "-" + cmdline[1] , result])
     
     exit(0)