I'm calling a little C program (let's say PorgA) I wrote from a C++ application (call this one ProgB) which I am in the process of writing. I know I can talk between them by other means (signals, pipes, sockets, etc...), but I am simply trying to read the exit code of ProgA after calling it from ProgB. What would be in your opinion the best way to accomplish this. Mind you I not only need to get the exit code, but also the PID of ProgA whenever I launch it.
Thanks for your help.
Len
Thanks for your help.
Len