-
Unable to run aerender command over ssh using system.callSystem script
I’ve wrote a script that sends my current active project to aerender directly from a Script UI button. It works fine on my local machine like this…
myPanel.grp.group8.getPath.onClick = function() {if(app.project.file !== null){
var path = app.project.file.fsName;
$.writeln(path);
}var renderCommand = "/Applications/Adobe\\ After\\ Effects\\ 2020/aerender -project " + path;
system.callSystem(renderCommand);}
However I would like the render to take place on a different machine which has access to the same files. The following Terminal command (from my machine) works and the image sequence gets rendered ok…
ssh server@192.168.50.4 /Applications/Adobe\\ After\\ Effects\\ 2020/aerender -project /Volumes/Work/Jobs/test.aepThe problem is, if I try to add ssh into the AE script like this, it does not work…
myPanel.grp.group8.getPath.onClick = function() {if(app.project.file !== null){
var path = app.project.file.fsName;
$.writeln(path);
}var renderCommand = "ssh server@192.168.50.4 /Applications/Adobe\\ After\\ Effects\\ 2020/aerender -project " + path;
system.callSystem(renderCommand);}
What am I doing wrong? What is the correct syntax to do this?