Skip to content
Snippets Groups Projects
Commit 60f945fd authored by Dirk Loss's avatar Dirk Loss
Browse files

Use subprocess instead of os.system to launch PDF/PS viewer

os.system() is deprecated, does not work correctly if the
path name of the executable includes spaces, and needs an
ampersand to put the called program in the background
(which does not work on Windows).
subprocess.Popen() solves all these problems.
parent 4a9ee8b9
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment