Im currently writing some code in C++ where I have a main process which spawns a child process (using the code which I found here). The child proccess will be controlled via its