Index: ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.py =================================================================== --- ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.py (revision 25343) +++ ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.py (revision 25344) @@ -25,7 +25,7 @@ ''' # Get Gmsh version - subproc_args = "gmsh -info | command grep 'Version' | sed -e 's/Version[[:blank:]]*:[[:blank:]]//' | cut -d '.' -f1" + subproc_args = "gmsh -info 2>&1 | command grep 'Version' | sed -e 's/Version[[:blank:]]*:[[:blank:]]//' | cut -d '.' -f1" subproc = subprocess.Popen(subproc_args, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) outs, errs = subproc.communicate() if errs != '': Index: ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m =================================================================== --- ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m (revision 25343) +++ ../trunk-jpl/src/m/mesh/planet/gmsh/gmshplanet.m (revision 25344) @@ -15,7 +15,7 @@ % md.mesh=gmshplanet('radius',6000,'resolution',100); % Get Gmsh version - [s,r]=system(['gmsh -info | command grep ''Version'' | sed -e ''s/Version[[:blank:]]*:[[:blank:]]//'' | cut -d ''.'' -f1']); + [s,r]=system(['gmsh -info 2>&1 | command grep ''Version'' | sed -e ''s/Version[[:blank:]]*:[[:blank:]]//'' | cut -d ''.'' -f1']); if s~=0, error(r); end