[Gmsh] warnings are not redirected into log file

Geordie McBain gdmcbain at freeshell.org
Tue Feb 9 20:37:11 CET 2016


Le 9 févr. 2016 20:12, "Bernd Hahnebach" <gmsh at b75.ch> a écrit :
>
> Dear GMSH user and developer,
>
> I'm redirecting the output of GMSH run into a logfile on linux bash. The
following command is used.
>
> gmsh  /tmp/part_jacobian_geometry.brep  -3  -format unv  -o
/tmp/part_jacobian_mesh.unv  -order 2   > /tmp/mylog
>
> The problem I have is Warnings are not written into the log file. They
are still printed into the terminal. What do I need to do to redirect the
warnings into the log file as well.

Hello. An ampersand should do it (&>/tmp/myLog).

https://www.gnu.org/software/bash/manual/html_node/Redirections.html#Redirecting-Standard-Output-and-Standard-Error
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20160210/0f4e5dc3/attachment.html>


More information about the gmsh mailing list