X-Recipient: archive-cygwin@delorie.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@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Content-Transfer-Encoding: 8bit
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


