AfterEffects.exe always crash when script from command line
After Effects 14.1.0.57 on Windows 7
(same problem with AE 14.0)
Hi all,
This is a fresh AE install on a new Windows 7 (uptodate, 8GB Ram). The same problem occurs on 3 other PC.
When I run a script from the command line, After Effects hangs up with the following messages :

The problem is the same, wathever the script.
Exemple of script :
AfterFX.exe -r "C:\myproject\script-render.jsx"
An example of the jsx file :
{
var myProject = File("C:\myproject\modele_multi_1.aep");
app.open(myProject);
if (!app.project) {
alert("bam");
}
if (app.project.renderQueue.canQueueInAME == true) {
app.project.renderQueue.queueInAME(false);
} else {
alert("There are no queued item in the Render Queue.");
}
app.quit();
}
If I open the script from within After Effects via the "File-Script-Run Script File" command, it works great.
In File Preferences, "Allow script to Write File" is checked as "Enable Javascript Debugger".
Running from command line was working fine with the After Effect CS6 older version.
Any idea ?
Regards,
Eric
