On 27/10/2014 at 17:52, xxxxxxxx wrote:
I seem to be having some issues with the qtguiagent.exe file. Using python I am launching a powershell script to kill Cinema 4D, swap plugins and then restart Cinema. The issue I have is when I am restarting cinema. I get a:
"QTCF.dll is missing from your computer. error"
On my local testing machine everything runs fine if I place the QTCF.dll in the main cinema folder. Has anyone run into this problem? Each machine is using windows 8.1 and I am guessing (A big guess) that the issue is when killing Cinema the qtguiagent.exe is not being completely killed? I have also tried adding that to the powershell code but no luck.
Would it also have to do with using subprocess to call powershell? This is how I set it up:
subprocess.Popen([PowershellPath,'-ExecutionPolicy','Unrestricted',CodeFromCinemaToRunInPS])
does Being a subprocess hold back the completion of the process killing? If so how should something like this be handled?