CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   FoamJob stderr redirection (

hoogland August 9, 2007 07:21

OF1.4, foamJob line 243, missi
OF1.4, foamJob line 243, missing 2>&1.

This affects only those who like to run jobs in the background. The redirection appears in the echo, but not the actual command. When using foamJob, e.g.:

foamJob -p <solver> <root> <case>

errors will be sent to screen but won't be captured in the log. Simply change line 243 from:

> ${ROOT}/${CASE}/log &


> ${ROOT}/${CASE}/log 2>&1 &

All times are GMT -4. The time now is 14:09.