Handling message passing between child and parent process to report pipeline success or failure