bug-bash
[Top][All Lists]
Advanced

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

Re: inconsistent $? after &


From: Chet Ramey
Subject: Re: inconsistent $? after &
Date: Sun, 15 Dec 2013 22:12:19 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.0.1

On 12/14/13, 2:08 PM, dethrophes@web.de wrote:
>    I thought the value was only 0 if the fork/spawn was succesful.

Sure, of course.  (Posix does not document any other return value, btw.)

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



reply via email to

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