Why parent process is active when don’t using wait command
When I using pipes to display file content as the following code, I expect, when I comment the wait command (in the last part of parent process), I don’t see parent process in ps
command’s output, but I see both parent and child process in the output.