FEM: gmsh tools, Py3, there still are extra b'ees to remove
This commit is contained in:
committed by
Yorik van Havre
parent
0a25f7fd58
commit
ddebf0d3c7
@@ -577,6 +577,9 @@ class GmshTools():
|
||||
try:
|
||||
p = subprocess.Popen(comandlist, shell=False, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||
output, error = p.communicate()
|
||||
if sys.version_info.major >= 3:
|
||||
output = output.decode('utf-8')
|
||||
error = error.decode('utf-8')
|
||||
# print(output) # stdout is still cut at some point but the warnings are in stderr and thus printed :-)
|
||||
# print(error)
|
||||
except:
|
||||
|
||||
Reference in New Issue
Block a user