bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Several issues with coprocesses regarding exit status


From: Chet Ramey
Subject: Re: Several issues with coprocesses regarding exit status
Date: Wed, 12 Dec 2012 16:32:53 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/17.0 Thunderbird/17.0

On 12/11/12 2:49 PM, Greg Wooledge wrote:

> So, I'd just call it a documentation flaw.  Most likely "coproc" is
> indicating whether it successfully created the coprocess (bg job), and
> you'll have to use "wait" to fetch its exit status once it becomes
> available.

More like an omission.  The current documentation doesn't say anything
about what the `coproc' command returns.  It only talks about what the
coprocess -- the asynchronous command -- returns.

Chet
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    address@hidden    http://cnswww.cns.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]