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.y...@nifty.ne.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