I'm using a "File output" node to customize the output of my animation (separating object & shadow into two files for each frame).
I have set custom path for the File output node and subpaths for its inputs. This works fine.
But Blender also writes a second copy of the animation frames using the default "Output" setting in the main "Output properties" panel. How can I get rid of that?
So far the best thing I can do is to delete the output:
bpy.data.scenes["Scene"].render.filepath = "//ignore/"
#
# render the animations here...
#
shutil.rmtree('ignore')