I wrote a program p1.out that returns me a value according to its arguments. I have run this program from another p2.out using the execv function and I want to get the return value p1.out . How should I do it? I know that I cannot checkif(execv(...)==1)
p1.out
p2.out
if(execv(...)==1)
No one has answered this question yet
See similar questions:
or similar: