FEM: Fix unexpected error with ccx_* unset if Popoen fails
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
This commit is contained in:
parent
e90ed4bf65
commit
f74e016f30
|
@ -396,6 +396,8 @@ class FemTools(QtCore.QRunnable, QtCore.QObject):
|
|||
ccx_binary = "ccx"
|
||||
self.ccx_binary = ccx_binary
|
||||
import subprocess
|
||||
ccx_stdout = None
|
||||
ccx_stderr = None
|
||||
try:
|
||||
p = subprocess.Popen([self.ccx_binary], stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE, shell=False)
|
||||
|
|
Loading…
Reference in New Issue
Block a user