You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In commit 1634eb6, Popen('gmsh ...', shell=True) is used instead of shell=False. The python docs seem to think that this is big security issue, but does it matter?
The change was made so that if FiPy is executed in a virtualenv, the local version of gmsh not the system version is used. For some reason using shell=False results in the local environment being ignored (i.e. the local PATH). I tried playing with the env argument to Popen, but to no avail.
The following script is helpful for debugging
This ticket was a red herring. The issue was with the "fake" gmsh script used to override the system gmsh for a bare install. Everything has been returned to how it was before. The script needed a "#!" at the top. See 20f82d6
In commit 1634eb6,
Popen('gmsh ...', shell=True)
is used instead ofshell=False
. The python docs seem to think that this is big security issue, but does it matter?The change was made so that if FiPy is executed in a virtualenv, the local version of gmsh not the system version is used. For some reason using
shell=False
results in the local environment being ignored (i.e. the local PATH). I tried playing with theenv
argument toPopen
, but to no avail.The following script is helpful for debugging
Imported from trac ticket #486, created by wd15 on 12-18-2012 at 12:05, last modified: 12-18-2012 at 13:58
The text was updated successfully, but these errors were encountered: