]> 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)
committerScott Kostyshak <skostysh@lyx.org>
Wed, 4 Sep 2019 13:12:09 +0000 (09:12 -0400)
commitdb65b1a3c372acf56fbf4ad01aa7f8461e5385d6
tree2ef12c833646b1543414e58fce56d415efc8105e
parentc138210672699adeda27bd865c8f6e14413d0156
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