Commit 7022d739 authored by Christian Stenger's avatar Christian Stenger Committed by hjk
Browse files

Dumper: Avoid output of plotting subprocess on console

Change-Id: I2e1cfc95b556b7d0c2fc1770523d43159790aae1
Reviewed-by: default avatarhjk <>
parent 4ea01384
......@@ -89,8 +89,9 @@ except:
matplotFigure = {}
matplotCount = 0
devNull = open(os.devnull)
matplotProc = subprocess.Popen(args=[pythonExecutable, "-i"],
bufsize=0, stdin=subprocess.PIPE, stdout=subprocess.PIPE)
bufsize=0, stdin=subprocess.PIPE, stdout=devNull, stderr=devNull)
matplotProc.stdin.write(b"import sys\n")
......@@ -132,6 +133,7 @@ def matplotSend(iname, show, data):
def matplotQuit():
def arrayForms():
global hasPlot
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment