I wonder what command I should be using to kill the render job. On a spot.
I am writing a Deadline plugin that would allow me to submit Mayapy jobs.
Fist, in the RenderExecutable( self ): function I verify the path to the executable for a particular Maya version is defined. If the path is not defined I want to exit the job without Dedline trying to re-run it again.
[b]FailRender/b command tries to re-run the failed job and it is not what I want.
I tried ExitWithSuccess() but it makes Deadline throw an error message and again it restarts the job.
Once again, I want the job to exit beautifully with no noise and no drama.
The documented AbortRender() command seems like what I need. But I can’t figure out what module it requires to be imported. Please advise.