Dataclay — Automating Digital Production
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Register
    • Login

    Call a Shell Script w/ Bot

    Scheduled Pinned Locked Moved
    Templater Event Scripts
    2
    2
    438
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ParanoidGrenadeundefined
      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.

      1 Reply Last reply Reply Quote 0
      • ariestavundefined
        ariestav
        last edited by

        Have you taken a look at your templater.log file 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 cp command is, but I’m just saying that there might be something related to environment.

        Also, take a read through this to troubleshoot:

        Secure Login

        Please let us know if this helps.

        Thanks!

        1 Reply Last reply Reply Quote 0
        • First post
          Last post