Question:
Inter-process communication: Pipe between parent and child
Write a program "oneway" which implements a one-way communication between a parent process and it's child using a pipe.
The parent takes a message (from the command line), sends it to the child (through the pipe), and the child displays the message.
The program has just one argument on the command line (the message).
An example of the execution could be:
Prompt -> oneway hellothere
I am the parent. I sent the message: hellothere.
I am the child. I received the message: hellothere.