Use run() instead of Popen() to avoid need for communicate() call.

This commit is contained in:
sliptonic
2021-12-31 10:04:17 -06:00
parent 189d3c72a2
commit 7558945c2b

View File

@@ -465,7 +465,7 @@ class CommandPathSanity:
)
try:
result = subprocess.Popen(["asciidoctor", reportraw, "-o", reporthtml])
result = subprocess.run(["asciidoctor", reportraw, "-o", reporthtml])
if str(result) == "32512":
msg = "asciidoctor not found. html cannot be generated."
QtGui.QMessageBox.information(None, "Path Sanity", msg)