delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/12/16/19:32:28

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=y7LSi5TMSicgtzQDSbqc95MdZm115w7JpSRsHOSUjCM
lSFPDKrcIkriB+O6Q7QfhbEV9zrj+MAU+xoJgvJRlw7cqsru0dxI/9rTVw8PzmEM
O3//FFsSNrefZj+Oyw3GndKE31ngYw4dBQxvtjHpSL3c6XL2vFaWm1f5/VfdCvVw
=
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=rbargMQ4svxYk6zz+/y7TIDE3Pw=; b=tJr7hrSUjPJDkA0jV
nyAwLortZdXbi82B/KyEzlu3ABQUr2wD4ClPHb45lb6KOG106U8Ko9VdtyxPBtzR
25nImjzwlWlA1Fmm2BkFpz/FiAJwK5ylEEowqbMzY4tYbccOq65hxd/lnUqk50ps
m0mIhj0mEtUJcWL5oyY9SdHEaM=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-2.4 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: vms173025pub.verizon.net
Message-id: <52AF9B87.2030906@verizon.net>
Date: Mon, 16 Dec 2013 19:32:07 -0500
From: Gerry Reno <greno AT verizon DOT net>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130625 Thunderbird/17.0.7
MIME-version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: cannot execute binary file
References: <52AF84E3 DOT 7070109 AT verizon DOT net> <52AF9A80 DOT 5010605 AT gmail DOT com>
In-reply-to: <52AF9A80.5010605@gmail.com>
X-IsSubscribed: yes

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.

Thanks for the suggestion though.



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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019