no shebang error
afisher last edited by afisher
I have been using the HaxWithFlic app for my mac and am having issues with bash, ruby, and python scripts. For some reason, even executable scripts, are reporting a missing shebang. These scripts run in Terminal but not HaxWithFlic.
Here is the bash.
curl --request PUT
--header 'cache-control: no-cache'
--header 'content-type: application/json'
--data DATA HERE
wazzamagoo last edited by
Hi, I am having the same problem running applescripts. The Shebang is present and on the first line. The script runs outside of HaxWithFlic just fine but I get the Shebang error when using the flic.
Does anyone know how to fix this?
Hello, I just want to make sure that we are on the same page here. Do you know what a shebang is? In the script that you posted here you have not added that. A shebang is something that you put on the very first line in a script file. The purpose of this is to let the executor (hax-with-flic in this case) know where the script should be executed. This could for example be:
This lets hax-with-flic know that the contents of this script file should be run using the program "osascript" located at /usr/bin/. Take a look at one of my example scripts.