public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Eliot Moss <moss@cs.umass.edu>
To: rajesh kesavan <rajeshrube@gmail.com>, cygwin@cygwin.com
Cc: aashishchavan@yahoo.com, sivaji.cdev@gmail.com, atulpathare226@gmail.com
Subject: Re: Getting return code "127" after execution of program
Date: Fri, 2 Jun 2023 08:42:09 -0400	[thread overview]
Message-ID: <c566b9b5-c5bf-a892-3572-be63531effa1@cs.umass.edu> (raw)
In-Reply-To: <CADcTMCY-CZkWjxpXB2z-tMF1_Yj4TSmBX-GiUcy+KK4oE1fXig@mail.gmail.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@cygwin.com would be enough for now, so I have
trimmed other lists from my response.)

Eliot Moss

  reply	other threads:[~2023-06-02 12:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-02  9:58 rajesh kesavan
2023-06-02 12:42 ` Eliot Moss [this message]
2023-06-04 12:01   ` Jon Turney
2023-06-02 15:07 ` [EXTERNAL] " Lavrentiev, Anton (NIH/NLM/NCBI) [C]
2023-06-02 23:28   ` Brian Inglis
2023-06-03 17:35 ` Andrey Repin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=c566b9b5-c5bf-a892-3572-be63531effa1@cs.umass.edu \
    --to=moss@cs.umass.edu \
    --cc=aashishchavan@yahoo.com \
    --cc=atulpathare226@gmail.com \
    --cc=cygwin@cygwin.com \
    --cc=rajeshrube@gmail.com \
    --cc=sivaji.cdev@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).