delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/04/07/07:05:20

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0459A389851A
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1617793518;
bh=r5KdqYnEdzbUZupLJbTqIaEDR0o7B504FeQtaWY/2T0=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=oIUKXo6n6VptykN8NOyj/Zpk74HJLIMLaD8+NOQ9wReo2FG0RQU1NZ0rkajzCNUK7
TFBqTy9xVbKYxWoFPkY41254P6O57ZS5Xw6O8XIKtd9fpbWkO1X7a2N0GVVX+PL2ZD
RkgNMzHGFMxXpdPaPTl/hlSGv1ZJHwnL4ch/TBSs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 45CAB3857022
DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-05.nifty.com 137B4eWt028851
X-Nifty-SrcIP: [124.155.50.190]
Date: Wed, 7 Apr 2021 20:04:41 +0900
To: cygwin AT cygwin DOT com
Subject: Re: IBM MQ client application fails on latest cygwin
Message-Id: <20210407200441.860d8b421bf7d29d1e32a6ea@nifty.ne.jp>
In-Reply-To: <20210407195624.d77b7459cbdd63504ea495d4@nifty.ne.jp>
References: <CA+7cx1p2BNhah1wNB2gNPVDR6y6eXD44ALFaUhjcinJuVOFWRw AT mail DOT gmail DOT com>
<20210406233716 DOT 003ba116ca61f99632bb4dce AT nifty DOT ne DOT jp>
<CA+7cx1o-Npm_ne8v+EB1QfCYPEZ4GB4dJSn3bQozEMm9pK4RgQ AT mail DOT gmail DOT com>
<20210407195624 DOT d77b7459cbdd63504ea495d4 AT nifty DOT ne DOT jp>
X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.30; i686-pc-mingw32)
Mime-Version: 1.0
X-Spam-Status: No, score=-4.3 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_NONE,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Takashi Yano via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 137B5K8S007900

On Wed, 7 Apr 2021 19:56:24 +0900
Takashi Yano wrote:
> On Wed, 7 Apr 2021 11:32:59 +0200
> Morten Kjærulff wrote:
> > On Tue, Apr 6, 2021 at 4:37 PM Takashi Yano wrote:
> > >
> > > On Tue, 6 Apr 2021 15:16:56 +0200
> > > Morten Kjærulff wrote:
> > > > When I run it from a windows command prompt, it works fine.
> > >
> > > In this case, did you run MQ client from cygwin shell
> > > in command prompt? Or run it in cmd.exe?
> > 
> > what works is:
> > cmd.exe->bash->script->non-cygwin-mq-client.exe
> > 
> > what fails is:
> > cmd.exe->bash->mintty->bash->script->non-cygwin-mq-client.exe
> > 
> > also fails:
> > cmd.exe->bash->mintty->bash
> > and then
> > cmd /c bash -c 'script' # script->non-cygwin-mq-client.exe
> 
> Thnaks for the report.
> 
> What about:
> mintty->cmd /c bash->non-cygwin-mq-client.exe ?

Do you mean your script starting mq-client by "script" ?
I meant /usr/bin/script by "script".

> > cmd.exe->bash->script->non-cygwin-mq-client.exe

If so, what about:
cmd.exe->bash->/usr/bin/script->(your script)->non-cygwin-mq-client.exe ?

-- 
Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
--
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