We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bae8424 commit 5ced4b5Copy full SHA for 5ced4b5
proc.tex
@@ -999,7 +999,10 @@
999
\item However, in \texttt{bash}, all processes in a pipeline are direct children
1000
of the shell itself, i.e. \texttt{bash} calls \funnm{fork} that many times as is
1001
the number of programs in the pipeline. Before the prompt is printed, it waits
1002
-for all processes it directly created to finish.
+for all processes it directly created to finish. Another advantage is that
1003
+since a parent can get exit status for its direct children only, forking all
1004
+processes in a pipeline makes it convenient to provide the \texttt{PIPESTATUS}
1005
+array variable to the user.
1006
\end{itemize}
1007
1008
%%%%%
0 commit comments