This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

cannot execute binary file


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



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]