Silent command line rendering I'm using a simple script to create and render a scene and when I run the script from command-line as blender --background --python hello.py it prints lots of lines like:

Fra:1 Mem:7.99M (19.13M, Peak 27.65M) | Scene, Part 243-256
Fra:1 Mem:7.99M (19.16M, Peak 27.65M) | Scene, Part 244-256
Fra:1 Mem:7.99M (19.16M, Peak 27.65M) | Scene, Part 245-256
Fra:1 Mem:7.99M (19.16M, Peak 27.65M) | Scene, Part 246-256
Fra:1 Mem:7.99M (19.13M, Peak 27.65M) | Scene, Part 247-256
Fra:1 Mem:7.99M (19.13M, Peak 27.65M) | Scene, Part 248-256
Fra:1 Mem:7.99M (19.16M, Peak 27.65M) | Scene, Part 249-256


Please, does anyone know how to render silently, i.e. not verbose? --verbose 0 didn't help...
You can redirect stdout to nul:

blender --background --python hello.py 1&gt; nul


In the script use import sys and one of the following to print to stderr:


print("blah blah", file = sys.stderr)
or sys.stderr.write("blah blah")
or sys.stdout = sys.stderr at the start of the script and later print("blah blah")