I have run into a bit of a problem with the system.callSystem command. I have used it before and its worked fine, but what I am trying to do now is use it to run a command to submit my after effects project to the render queue (qube).
The command is:
Code: Select all
qbsub --name afterEffectsTest2 --cpus 1 --priority 1 --prototype aftereffects --data (=(Project_path=H:/Compositing/episodes/episode99/seq01/afx_projects/testProject.aep)(appversion=9.0)) C:\\Program Files (x86)\\Adobe\\Adobe After Effects CS4\\Support Files\\aerender.exe
Code: Select all
firstJob = system.callSystem("cmd.exe /c \qbsub --name afterEffectsTest2 --cpus 1 --priority 1 --prototype aftereffects --data (=(Project_path=H:/Compositing/episodes/episode99/seq01/afx_projects/testProject.aep)(appversion=9.0)) C:\\Program Files (x86)\\Adobe\\Adobe After Effects CS4\\Support Files\\aerender.exe \""));
alert(firstJob);
Anyone had similar issues or can anyone help me out?
Thanks
Josh