I'm making a kivy app in where i'm scanning the ipv4, using arp, now for this superuser is required.
But i'm struggling to either run the function via super user or the whole entire app, whatever works.
Thanks for the help.
What i tried: cmd = ['su', '-c', 'python', '-c', name_function] output = subprocess.check_output(cmd) print(output)
or calling su using subprocess on startup - does absolutely nothing.