I am trying to run a python file via execlp function of c language. I want to return a string from the python script. Is there any way to do that?
execlp("python", "python", "sendmail.py", "test", (char*) NULL);
I am trying to run a python file via execlp function of c language. I want to return a string from the python script. Is there any way to do that?
execlp("python", "python", "sendmail.py", "test", (char*) NULL);