FEM: Redirect ElmerGrid output to /dev/null
Up until now the output would appear in the cli in which FreeCAD was started. This is unnecessary and makes test output very confusing.
This commit is contained in:
committed by
Bernd Hahnebach
parent
9c728a03cc
commit
708ef0cd6a
@@ -135,7 +135,7 @@ class Writer(object):
|
||||
_ELMERGRID_OFORMAT,
|
||||
unvPath,
|
||||
"-out", self.directory]
|
||||
subprocess.call(args)
|
||||
subprocess.call(args, stdout=subprocess.DEVNULL)
|
||||
|
||||
def _writeStartinfo(self):
|
||||
path = os.path.join(self.directory, _STARTINFO_NAME)
|
||||
|
||||
Reference in New Issue
Block a user