public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Prakash Babu <jprakashbabu31@gmail.com>
To: cygwin@cygwin.com
Subject: Re: batch script execution failing with 255 exit code in cygwin 1.7.28
Date: Mon, 17 Feb 2014 05:50:00 -0000	[thread overview]
Message-ID: <CAHDNAGJ29D1wk83XcmDzUg4m71+e6Y6K7A37fPcsWCQ-3OaLtQ@mail.gmail.com> (raw)
In-Reply-To: <20140217035649.GA5507@ednor.casa.cgf.cx>

 thanks Christopher.
I found the following archive which introduced this fix
(http://cygwin.com/ml/cygwin-patches/2014-q1/msg00017.html)

I feel this causes an inconsistent behavior when batch scripts are
executed using command interpreter(cmd.exe) and cygwin.
There are some generic batch script we might give to users where some
might execute using cmd.exe and some using cygwin(especially remotely
using ssh) and I would be expecting the same behavior in both places.

Also my existing batch script handles argument a=b in a way where I
obtain 'a' using %1 and 'b' using %2 and this behavior is broken now.


thanks,
Prakash

--
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

  reply	other threads:[~2014-02-17  4:55 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-14  7:05 Prakash Babu
2014-02-14  8:58 ` Andrey Repin
2014-02-14 15:28 ` Christopher Faylor
2014-02-17  3:35   ` Prakash Babu
2014-02-17  3:56     ` Christopher Faylor
2014-02-17  4:46       ` Christopher Faylor
2014-02-17  5:50         ` Prakash Babu [this message]
2014-02-17 13:14           ` Andrey Repin
2014-02-17 14:53           ` Chris J. Breisch
2014-03-21  0:37 Weber, Mark

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=CAHDNAGJ29D1wk83XcmDzUg4m71+e6Y6K7A37fPcsWCQ-3OaLtQ@mail.gmail.com \
    --to=jprakashbabu31@gmail.com \
    --cc=cygwin@cygwin.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).