ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Unable to run aerender command over ssh using system.callSystem script

COW Forums : Adobe After Effects

FAQ   •   VIEW ALL   •   ADD A NEW POST   •   PRINT
Respond to this post   •   Return to posts index   •   Read entire thread


Mark Paterson
Unable to run aerender command over ssh using system.callSystem script
on Nov 13, 2019 at 10:27:41 pm
Last Edited By Mark Paterson on Nov 13, 2019 at 10:29:15 pm

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.aep

The 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?


Posts IndexRead Thread 


Current Message Thread:





© 2020 CreativeCOW.net All Rights Reserved
[TOP]