From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14709 invoked by alias); 17 Dec 2013 00:27:52 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14697 invoked by uid 89); 17 Dec 2013 00:27:50 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-yh0-f52.google.com Received: from mail-yh0-f52.google.com (HELO mail-yh0-f52.google.com) (209.85.213.52) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Tue, 17 Dec 2013 00:27:50 +0000 Received: by mail-yh0-f52.google.com with SMTP id i7so4387037yha.39 for ; Mon, 16 Dec 2013 16:27:48 -0800 (PST) X-Received: by 10.236.92.138 with SMTP id j10mr9076970yhf.70.1387240067905; Mon, 16 Dec 2013 16:27:47 -0800 (PST) Received: from [192.168.1.73] (99-94-174-195.lightspeed.gnbonc.sbcglobal.net. [99.94.174.195]) by mx.google.com with ESMTPSA id d32sm21710252yhq.27.2013.12.16.16.27.46 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 16 Dec 2013 16:27:46 -0800 (PST) Message-ID: <52AF9A80.5010605@gmail.com> Date: Tue, 17 Dec 2013 00:27:00 -0000 From: Max Polk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: cygwin@cygwin.com Subject: Re: cannot execute binary file References: <52AF84E3.7070109@verizon.net> In-Reply-To: <52AF84E3.7070109@verizon.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2013-12/txt/msg00288.txt.bz2 On 12/16/2013 5:55 PM, Gerry Reno wrote: > /usr/bin/ls: /usr/bin/ls: cannot execute binary file > /bin/bash: Exit 126 > > > This is the error that greets me when I try to execute a command in cygwin from a Windows Command Prompt like so: > > C:\cygwin\bin\mintty.exe -h always /bin/bash -l ls > > This was after installing a new version of Cygwin today. So I wiped it and installed it again and got the same error again. > > This used to work because I've called my own scripts this way before. Is there some new way of doing this? > If you provide a "minus c" option, it will work: C:\cygwin\bin\mintty.exe -h always -e /bin/bash -l -c ls -- 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