X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=j3bw2YmbNQG1n/aJMKRzEKwJFkzBgyzepWWfpm/OfUL IBJomKDIdrI0xr6VHS0fi+nOnzCtvfRX6wvJRgliKVf8F4IbmnUssl8gx0vx0GMK 4qY/J7a+Pj2WwjFaiHwyG/RWM1VbCTSGDnFSux4E3tVqtVtTxsdLK0kLB+tULBi8 = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=FRnu37wopsOlVM49NLzIFyC44Jk=; b=VZRaAAH62Uc7GsORx 0CkhvLT309PtMHBYq8ZSfdyk6zN8zXCHufxPrT+xu9VijdffXdhFiaovFVVXZRkM Jew0ms7k+0WOSB70dro4uGH5xorVGXVnoYQ37fqfdYSl/9a2Lhw5RBVDW9GQMm4A oIEyARYSR3hjjyKyn9Tu/f9rTE= 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 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 X-Received: by 10.236.92.138 with SMTP id j10mr9076970yhf.70.1387240067905; Mon, 16 Dec 2013 16:27:47 -0800 (PST) Message-ID: <52AF9A80.5010605@gmail.com> Date: Mon, 16 Dec 2013 19:27:44 -0500 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 AT cygwin DOT com Subject: Re: cannot execute binary file References: <52AF84E3 DOT 7070109 AT verizon DOT net> In-Reply-To: <52AF84E3.7070109@verizon.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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