So I'm currently using Java's ProcessBuilder to run Blender Python scripts for rendering in the background and that's working fine. However, I would also like to abort Blender at any time, and unless if I'm mistaken, killing the blender.exe processes would be the best method of doing this.
So I tried using the destroy() method on the process that runs Blender, only to find that Blender actually starts two processes. Using the destroy() method only kills one of the two processes (and not the one that's doing the actual rendering). Does anyone know of a good workaround or another method of implementing a render abort? Thanks!