bug-bash
[Top][All Lists]
Advanced

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

Re: coprocess questions (manpage doesn't seem clear)


From: Chet Ramey
Subject: Re: coprocess questions (manpage doesn't seem clear)
Date: Tue, 12 Apr 2011 09:32:02 -0400
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9

On 4/11/11 3:52 PM, Linda Walsh wrote:
> I was looking @ coprocess section in the manpage where it says that:
> 
>  NAME must not be supplied if command is a simple command.
>  For the coproc:
>    FH1(stdout) is put in NAME[0]
>    FH0(stdin)  is put in NAME[1]
>    PID is put in NAME_PID
> 
> Questions (Seems like these should be in manpage, in this section, or
> has this already been revised?):
> 
>  1) If Name isn't supplied, where does it put the handles & Pid?

The default name is COPROC.

>  2) Where does it put FH2 (stderr)?

It does not modify stderr, just as pipes do not.

-- 
``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]