From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from barramail.cs.umass.edu (barramail.cs.umass.edu [128.119.240.3]) by sourceware.org (Postfix) with ESMTPS id DDB2A3858D32 for ; Fri, 2 Jun 2023 12:42:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DDB2A3858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cs.umass.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cs.umass.edu X-ASG-Debug-ID: 1685709732-0f60ac0c861e43c70001-w5GHUG Received: from mailsrv.cs.umass.edu (mailsrv.cs.umass.edu [128.119.240.136]) by barramail.cs.umass.edu with ESMTP id LZo5u7JRrUNY2dWF (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Fri, 02 Jun 2023 08:42:12 -0400 (EDT) X-Barracuda-Envelope-From: moss@cs.umass.edu X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136 Received: from [192.168.50.148] (c-24-62-201-179.hsd1.ma.comcast.net [24.62.201.179]) by mailsrv.cs.umass.edu (Postfix) with ESMTPSA id A9CAC4015534; Fri, 2 Jun 2023 08:42:11 -0400 (EDT) Message-ID: X-Barracuda-RBL-Trusted-Forwarder: 192.168.50.148 Date: Fri, 2 Jun 2023 08:42:09 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1 Reply-To: moss@cs.umass.edu Subject: Re: Getting return code "127" after execution of program Content-Language: en-US X-ASG-Orig-Subj: Re: Getting return code "127" after execution of program To: rajesh kesavan , cygwin@cygwin.com Cc: aashishchavan@yahoo.com, sivaji.cdev@gmail.com, atulpathare226@gmail.com References: From: Eliot Moss In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Barracuda-Connect: mailsrv.cs.umass.edu[128.119.240.136] X-Barracuda-Start-Time: 1685709732 X-Barracuda-Encrypted: ECDHE-RSA-AES128-GCM-SHA256 X-Barracuda-URL: https://barramail.cs.umass.edu:443/cgi-mod/mark.cgi X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at cs.umass.edu X-Barracuda-Scan-Msg-Size: 710 X-Barracuda-Spam-Score: 0.00 X-Barracuda-Spam-Status: No, SCORE=0.00 using global scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=5.7 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.3.109501 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,JMQ_SPF_NEUTRAL,KAM_DMARC_STATUS,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 6/2/2023 5:58 AM, rajesh kesavan via Cygwin wrote: > Hi, > > We are Trying to execute a program like ./sample.exe on 64 bit Cygwin. This > executable is built with CMake on Cygwin 64 bit. > The Program is not throwing any error or success details. it simply comes > out from the running screen without any error and success states. > and we checked output status using "*$?*" It returns "*127*" output. > A wondering: Is the program's main declared to return an int, and does it explicitly return 0? (I also don't think you needed to include all those lists in your original post; cygwin@cygwin.com would be enough for now, so I have trimmed other lists from my response.) Eliot Moss