Having trouble launching program from Command Line

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
swink85
Posts: 13
Joined: January 5th, 2010, 1:37 am

Hello!

I am trying to figure out how to get programs to launch from the Command Line. Been searching around on google for days and haven't found any solutions that are working for me.

Here's the code I am trying to do:

Code: Select all


system.callSystem("cmd /c \""C:\\Program Files\\Adobe\\Adobe After Effects CC 2014\\Support Files\\aerender.exe -project  + app.project.file.fsName"\"");

The idea is that, in my script, once all the other functions of the script have taken place, the compositions that have been sent to the render queue will be rendered, but in the background using aerender. I cannot get ae render to launch and I know it is probably some dumb syntax error on my part but I have been pulling my hair out trying to fix it.

Also, if it's possible. Is there a way to have the script resume and go on to it's next lines of code once the command line render has finished?

Please and thanks!
Post Reply