That’s actually the same solution I posted in my initial post, and it’s based on a non-standard library (pywin32) which is a little tricky to bundle and is quite large, but yes, based on only a few tests, it seems to do the job.
It seems to differ across Windows distributions though. >From the stackoverflow post: One downside to using a job object is that when running on Vista or Win7, if your program is launched from the Windows shell (i.e., by clicking on an icon), then there will probably already be a job object assigned and trying to create a new job object will fail. Win8 fixes this (by allowing job objects to be nested), or if your program is run from the command line then it should be fine. Would you mind having a gander at this and see what you can make of it? http://stefan.sofa-rockers.org/2013/08/15/handling-sub-process-hierarchies-python-linux-os-x/#example It’s the recursive nature of how the script launches itself that throws me off, but other than that the results look to be what I’m after. -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/CAFRtmOAKPKXRd_9XwfD%2B8az-yrpd5K32DQca6Z3gqggSzQ-_mQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
