I am already doing all our MDD point caching and fur ICE caching using RR here, it is very simple to do. You do not need to use any launchprocess or Popen - you can submit a .bat or .sh file to RR as an execute once - so your currently setup method with the .bat and .py script works 100% - that is exactly what we are doing here - we have cached about 3/4 of a feature film like that already - well the ICE side - our finished movie was all .dd caches done with .bat and .vbs files on the farm through RR.
If you need any other info let me know. S. Sandy Sutherland<mailto:sandy.sutherl...@triggerfish.co.za> | Technical Supervisor [http://triggerfish.co.za/en/wp-content/uploads/udf_foundry/images/logo.png] <http://triggerfish.co.za/en> [http://static.ak.fbcdn.net/rsrc.php/v2/ym/x/lFV-lsMcC_0.png] <http://www.facebook.com/triggerfishanimation> [https://si0.twimg.com/a/1349296073/images/resources/twitter-bird-white-on-blue.png] <http://www.twitter.com/triggerfishza> ________________________________ From: softimage-boun...@listproc.autodesk.com [softimage-boun...@listproc.autodesk.com] on behalf of Cristobal Infante [cgc...@gmail.com] Sent: 07 December 2012 13:44 To: softimage@listproc.autodesk.com Subject: Re: Python: subprocess caching Thanks for that Gareth, works a treat.. Will look into hooking it up with RoyalRender next ;) Best, C On 7 December 2012 11:40, Raffaele Fragapane <raffsxsil...@googlemail.com<mailto:raffsxsil...@googlemail.com>> wrote: I would first try to wrap it inside a command with a return value and call that command from inside the logic. Exception handling tricks seldom end in happiness :) On Dec 7, 2012 9:36 PM, "Gareth Bell" <gareth.b...@primefocusworld.com<mailto:gareth.b...@primefocusworld.com>> wrote: Yeah that's right, within a button callback. I'll have a look into the "while 1" trick. Failing that - I guess I'll have to find another solution. Thanks for your help ________________________________ From: softimage-boun...@listproc.autodesk.com<mailto:softimage-boun...@listproc.autodesk.com> on behalf of Raffaele Fragapane Sent: Thu 06/12/2012 22:49 To: softimage@listproc.autodesk.com<mailto:softimage@listproc.autodesk.com> Subject: Re: Python: subprocess caching Glad it was of help. I might be missing something, what do you mean "within logic"? Inside a PPG's logic? You have it in a button callback or where? Subprocess can be finnicky if run inside something that does its own black magic garbage collection, like most UI elements do. There are tricks like using "while 1" and trying excepting something inside to exit which will stall the caller enough for subprocess to finish doing its thing, but it might or might not work out for you, or even be viable. On Fri, Dec 7, 2012 at 2:12 AM, Gareth Bell <gareth.b...@primefocusworld.com<mailto:gareth.b...@primefocusworld.com>> wrote: Hi Raff, That's awesome. Forgive my ignorance but is it possible to run subprocess.Popen within logic? As it is currently written it works outside of logic but not within it. g