Get Maya Batch Render Output

I need to get the progress of a batch render for a python tool. One way I found to do this is using the command cmds.scriptEditorInfo to generate a file with the log, then I would read this log and get the progress, but I am not sure if it is a good way to do this.

Does anyone knows a better way to get the progress of the batch render. I want to know which images were rendered during the process. I am using mel.eval(“mayaBatchRender();”) to do the batch render.

Thank you!

My only experience with this was the render farm command we wrote to render maya scenes, and we ended up just parsing the output log to determine what had been rendered and where it lived.

Hmm, I want to do a batch render with Maya opened. I am studying the comand cmds.batchRender and I am confident that I it will serve for my case.

Thank you anyway,