X-Recipient: archive-cygwin@delorie.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:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=JCSTFyAvQjq9uGZp
	BHWPHcglPJCfSostqQet2ft20/PDUSzln3JYw5ZgUfaU0oxJvQYRsyxhwmFPdGX0
	EvKE8th2XrXNGpNx6v8dt6oppvBCMV0chPu8b6aLlnYougAzFgCjJjztD9yeasPx
	lmWXqM0TzfN1+qUGL7VaC4tltz8=
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:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=6GiLpCe4/UXa99XTEl7fzR
	hXvIU=; b=V5LU2QHEhQS8leGomuRDLqrbU0tpn4qqHbCk3T91oGfYNnfvX7+Utl
	eF/BUcZQWBFdU3RVeQm/mFrcZfSbBzperpfoJ2K8QEs02UMlkkk5dK3i+RMfHlh2
	Cgq4KhOBmtUau98vC+YNBZzZXGHGeCdHQwbjsoLeOeMklIMdk3ma8=
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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2
X-HELO: vms173017pub.verizon.net
Message-id: <52AFB969.6040501@cygwin.com>
Date: Mon, 16 Dec 2013 21:39:37 -0500
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: cannot execute binary file
References: <52AF84E3.7070109@verizon.net> <52AF9A80.5010605@gmail.com> <52AF9B87.2030906@verizon.net>
In-reply-to: <52AF9B87.2030906@verizon.net>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

On 12/16/2013 7:32 PM, Gerry Reno wrote:
> On 12/16/2013 07:27 PM, Max Polk wrote:
>> 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
>>
>
> I just tried it with -c and all it gives you is a totally blank window.
>
> Tried a bunch of other commands using the -c and same thing.  Just a blank window.

In that case, there's something in your installation that isn't quite right.
The above suggestion resolves the issue you described just fine for me.  If
you're still experiencing the problem when you use the '-c' flag and need to
consult with the list further on this issue, I recommend following the
problem reporting guidelines found at the link below with your next message:

> Problem reports:       http://cygwin.com/problems.html


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

