[cs631apue] about an exit in the Pipeines
jschauma at stevens.edu
Fri Dec 5 20:40:17 EST 2014
jli51 <jli51 at stevens.edu> wrote:
> For the exit is to exit the current shell, so how about an exit in the
> Pipeines, such as "ls | exit". When I check the Pipelines in bash, it's
> saying Each command in a pipeline is executed as a separate process. so
> is that means the exit will not terminate the shell when in the pipe?
What do you think the user would expect?
What do other shells do?
More information about the cs631apue