Intent not executing my command


#1

I’m working on using the 433mhz lights tutorial made by one of the Snips’ staff but I can’t seem to run the cpp script.
I compiled the provided cpp code and can execute the resulting binaries via the command line on my RPi but when I try to use Snips, I can’t seem to make it work. I think I need to make the binaries a system service or something along those lines but I’m not sure.
I want to run the ./chacon_send 2 12325261 1 on, but i need to use sudo I don’t know if that’s the problem

This is the code that I made for the skill