Hello everybody !
I have two C source file: child.c and parent.c.
child.c looks like that:
Code:
int main()
{...
return 15647
}
parent.c calls child using fork()-exec() or posix_spawn().
How can I get in parent the return code from child (here value is 15647) without using interprocess communication (pipe, shared memory, ...) ?
Is there any way to do that without IPC ?
Thank you !