I am trying to exec a python program from another C program where the return value of the py script is
int array[3]
can I grab the this array from the python exit code ??
EDIT: if the question is not clear can I make the return code of python script an array of integers instead of int ?? and catch it from C process ??
What I want to achieve?? I am working on a robot , a Raspberry PI with 3 sensors. The RPi is running arch linux, the C program is the navigator that takes input from a python script that get data from sensors, I am wondering how to get the data ??