add a binary to test error usecase and fix waitpid feature
update Makefile to add mybinary compilation stuff
add missing include and fix header of header
increase mybinary output switch
improve error handler and remove useless debug