Call a Shell Script w/ Bot
ParanoidGrenade last edited by
What is the procedure/syntax for calling a shell bash script from Templater? After I “Setup Shell Commands” I have a script to make a new directory on my machine (as a simple test) calling it upon completion of a render. I point to the .sh script using Templater’s GUI. The bash script works when I call it from Terminal but not through Templater. When I run the BOT, the movies get rendered, but the script does not get called. Am I missing something or is there a video reference on how to do this? I am on a Mac High Sierra running AE CC 2019.
I ultimately want to create a shell script to do a sequential set of actions, neatly organized in a shell bash script.
ariestav last edited by
Have you taken a look at your
templater.logfile for any clues as to the issue? In that log file, it will show you exactly what it attempts to execute in the shell. You can copy and paste that from the log to a new terminal window and try it there. Keep in mine that the environment that Templater executes in might be different from the environment in your own Terminal shell. Maybe something is not included in a path? I’m sure
cpcommand is, but I’m just saying that there might be something related to environment.
Also, take a read through this to troubleshoot:
Please let us know if this helps.