delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/05/02/04:26:57

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-4.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,KHOP_RCVD_TRUST,RCVD_IN_DNSWL_LOW,RCVD_IN_HOSTKARMA_YE
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Wed, 2 May 2012 10:26:33 +0200
Message-ID: <CAOLRrpE+tUwB4TtEccwE7kjP0V0hDC63KYFeD7=1-mEYgZWkhw@mail.gmail.com>
Subject: Windows 8: commands in sh prompt are not working
From: Bertrand Latinville <blatinville44 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id q428QqpU030256

Hi,

I'm using cygwin  1.7.11 on Windows 8 64 bit consumer preview

Using cygwin via the shortcut C:\cygwin\bin\mintty.exe works fine.

But I'm also using cygwin via Jenkins which call sh.exe directly.

When running sh.exe, we get the prompt but many commands are not working.
They return immediately without echoing anything:

sh-4.1$ ls

sh-4.1$ echo $?
2
sh-4.1$ gawk --version

sh-4.1$ echo $?
1
sh-4.1$ scp --version

sh-4.1$ echo $?
1

-> no outputs for these commands. Running the same commands in the
"mintty" terminal works fine.
Somme commands are working,  "find" for example.

Same setup is ok on Windows 7.

Is it a known problem, or is there something to setup to have sh
working properly ?

Thanks,

Bertrand.

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


- Raw text -


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