I never bothered learning about stuff like this. My main focus was always network programming. Its the main reason i started coding in the first place. I had no need for fork, or wait. This is why this is a good exercise, i will learn a lot! When i think about it though, its going to be a huge pain in the ...! Which will most likely end in me getting bored of the project and abandoning.
I will tell you though, that i feel really dumb for using ">" with the execl call while using dup haha Probably the only reason it worked.