delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/06/02/08:43:19

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 81DEE385781F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1685709750;
bh=fniEmKYNiMtiiwSx/PJ5Ydiv/OZKR1PwmYktmBjX798=;
h=Date:Subject:To:Cc:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
From:Reply-To:From;
b=jOZN0Uk19rbAmyFzcmJtxwU/jb+wKaXpxTqzk9Yd57LgaJIalLQOjDzSD1Ki9WsGt
hyZNh4kCDG4HgK20Ftm2Z2Xiok+G0lDHL0RS6iQbiIOd1PrVLi/i7jYjPNnXcQgOqd
aZW51NyUI3gL9wvF/fqrXqKKbQ+UqwKocNXeMP04=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DDB2A3858D32
X-ASG-Debug-ID: 1685709732-0f60ac0c861e43c70001-w5GHUG
X-Barracuda-Envelope-From: moss AT cs DOT umass DOT edu
X-Barracuda-RBL-Trusted-Forwarder: 128.119.240.136
Message-ID: <c566b9b5-c5bf-a892-3572-be63531effa1@cs.umass.edu>
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
Subject: Re: Getting return code "127" after execution of program
X-ASG-Orig-Subj: Re: Getting return code "127" after execution of program
To: rajesh kesavan <rajeshrube AT gmail DOT com>, cygwin AT cygwin DOT com
Cc: aashishchavan AT yahoo DOT com, sivaji DOT cdev AT gmail DOT com, atulpathare226 AT gmail DOT com
References: <CADcTMCY-CZkWjxpXB2z-tMF1_Yj4TSmBX-GiUcy+KK4oE1fXig AT mail DOT gmail DOT com>
In-Reply-To: <CADcTMCY-CZkWjxpXB2z-tMF1_Yj4TSmBX-GiUcy+KK4oE1fXig@mail.gmail.com>
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
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Eliot Moss via Cygwin <cygwin AT cygwin DOT com>
Reply-To: moss AT cs DOT umass DOT edu
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

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 AT cygwin DOT com would be enough for now, so I have
trimmed other lists from my response.)

Eliot Moss

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019