I am a Mac user and we use Chromebook in our school district, I have all the inventory and assignments done in FileMaker so that I can keep track of everything. One of the things I am trying to do is send a command to terminal and post the response. It needs to be local on my computer as I am using GAM (GAM is a command line tool that allows administrators to manage many aspects of their G Suite Account.) Anyway, I have a field set so I have the command automated but I am unsure how to post it to terminal, let alone how to get the response back.
Here is a sample of the command
gam update cros 23854c18-b5dd-4bc3-823f-7c544f013fc7 org /Students/HighSchool
which would return the result:
moving 1 devices to /Students/HighSchool
Use the free (awesome) base element plugin' s function : BE_ExecuteSystemCommand
BE_ExecuteSystemCommand – BaseElements Plugin Help Centre
it doesn't need the terminal, it can work server side. PERFECT