shichao-an / soundmeter

Simple real-time sound meter
https://soundmeter.shichao.io
BSD 2-Clause "Simplified" License
82 stars 27 forks source link

Exec format error #11

Closed NotZombieFood closed 7 years ago

NotZombieFood commented 7 years ago

When I tried to run a script I made, I got this message: cannot execute binary file: Exec format error I can run the script without any problem directly from the console, but the trigger function always get that error. I am using raspbian if that helps.

shichao-an commented 7 years ago

@Gerardo34 What is the permission of your script? Do you have executable bits on? And do you have a correct shebang in the beginning of the script?

NotZombieFood commented 7 years ago

Ty, I solved it with the shebang :)