Thanks for your quick response.
I have seen this post but I don't get an answer out of it. My problem isn't how I can control the GPIOs, instead, I want to call a python script (which already works) and pass the value of the slider as an argument in the shell-execute command.
I think it could look like this:
native (sliderValue){
system("python setVolume.py %s", sliderValue);
}
Another option could be to build a string with the command and value combined in Chora and then pass it to native, and there the system command should execute this string.
I hope it's understandable :D