Skip to content

Commit

Permalink
FEM: Fix unexpected error with ccx_* unset if Popoen fails
Browse files Browse the repository at this point in the history
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
  • Loading branch information
PrzemoF committed Nov 11, 2015
1 parent e90ed4b commit f74e016
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Mod/Fem/FemTools.py
Expand Up @@ -396,6 +396,8 @@ def setup_ccx(self, ccx_binary=None, ccx_binary_sig="CalculiX"):
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)
Expand Down

0 comments on commit f74e016

Please sign in to comment.