X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:subject:from:to:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; q=dns; s=default; b=dt+8SuicghmsAqp8+yJCYYJxyAsdRfDqYLZcRWWlmGl 2oPkKmfrEVroEjOcTmFQOdEaKOWBE2l0QEAvm7xW+vyXDdMxugcZeDN7Qguxc4Zn Nkr4ow9pVXSI7YqrOzg01RkH223qjfjfisqnkgUBrZWqD3x0TeN8YEvza/vu33nw = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:subject:from:to:date:in-reply-to :references:content-type:mime-version:content-transfer-encoding; s=default; bh=PRjBDumHJSBflKM3+iU/tTihTBk=; b=HfPONGnm2JnEUxUUZ f7fk962Ew96TgJLEDwxeTzsBxd7x4Uje4FtJV3BI25SrUOqOgxZGSSeaXvd+y+Rn glGSRFv6D9tD9TCQAap4edB3x4QSZKjRH0dGCdHxpRXDPjcF5LzvaHfqQ0b0jd0X BVDGczLdztvc1eHd7JZeK4bDoM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_05,KAM_LAZY_DOMAIN_SECURITY,SPF_HELO_PASS autolearn=no version=3.3.2 X-HELO: mx1.redhat.com Message-ID: <1436485372.7208.77.camel@cygwin.com> Subject: Re: Return codes over 1 byte From: Yaakov Selkowitz To: cygwin AT cygwin DOT com Date: Thu, 09 Jul 2015 18:42:52 -0500 In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On Thu, 2015-07-09 at 19:30 -0400, Michael DePaulo wrote: > mark06 mentioned this on IRC today and then left the channel about 1 hour later: > > has anyone ever discussed exit codes above one byte? they are > valid on modern windows, but cygwin's bash will mess them > > I was curious, so I googled it (I could not find an answer) and then > tried it out. I can confirm the what he said. http://pubs.opengroup.org/onlinepubs/9699919799/functions/exit.html https://www.gnu.org/software/libc/manual/html_node/Exit-Status.html -- Yaakov -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple