]> git.lyx.org Git - features.git/commit
Port gnuplot2pdf.py to Python 3
authorScott Kostyshak <skostysh@lyx.org>
Fri, 30 Aug 2019 00:48:34 +0000 (20:48 -0400)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 18 Jun 2020 13:48:45 +0000 (15:48 +0200)
commitc7d8ca160063a9da1ca713c62f4b8748e6258f59
tree6218f7c5b3b6876559ef7ed4e21d8a4d8fc638a5
parent6cf1d2be8ef6b6f20ef697d9d73e574d40247b29
Port gnuplot2pdf.py to Python 3

Instead of wait(), use communicate(), as mentioned here:

  https://docs.python.org/3/library/subprocess.html

Otherwise, the process seems to hang as cautioned in the above URL.

Also, use byte strings.
lib/scripts/gnuplot2pdf.py