Invoking Yafray from within a python script

Is there an easy way to render a scene in Yafray from within a python script. I am procedurally generating parts of a scene and I need to render it in Yafray in order to use global illumination (since Blender doesn’t have it).


EDIT: Actually Yafray rendering from blender respects the on frame change script link, so disregard this post, this should have occurred to me but it didn’t. Sorry guys.