Redirect stderr through grep -v in LSF batch job
问题 I'm using a library that generates a whole ton of output to stderr (and there is really no way to suppress the output directly in the code; it is ROOT's Minuit2 minimizer which is known for not having a way to suppress the output). I'm running batch jobs through the LSF system, and the error output files are so big that they exceed my disk quota. Erk. When I run locally on a shell, I do: python main.py 2> >( grep -v Minuit2 2>&1 ) to suppress the output, as is done here. This works great, but