Updated examples with samples of using pipes to communicate between processes and example of using signal handlers.