This is the mail archive of the mailing list for the Cygwin project. See the Cygwin home page for more information.
Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Shell scripts called *.exe

It seems if you have a shell script - ie with "#!/bin/sh" as the first
line, and call the script 'something.exe', and execute it with
'./something', it will crash your bash.

Just try
echo '#!/bin/sh' > something.exe; ./something

Want to unsubscribe from this list?
Send a message to