This is the code to implement piping in my own UNIX C shell, after execution it hangs.
It does not go the prompt to take the input for the next command.
How to sol