Sample Header Ad - 728x90

Return value vs return status of a coprocess

0 votes
1 answer
661 views
I don't understand this sentence about **Coprocesses** in the **bash** man page: > Since the coprocess is created as an asynchronous command, the **coproc** command always returns success. The return status of a coprocess is the exit status of 'command'. What is the difference between a "success" *return value* and a "success/error" (0/non-0) *exit status*? How differently are they handled by the **bash**? And how can one catch them to see the difference?
Asked by The Quark (402 rep)
Sep 18, 2021, 10:52 PM
Last activity: Oct 16, 2021, 02:45 PM