mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
* lyxpaperview.py - non-waiting process call for all cases.
This commit is contained in:
parent
5d084c86c9
commit
1e4f913847
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user