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: Subject: Windows 8: commands in sh prompt are not working From: Bertrand Latinville To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=ISO-8859-1 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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