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:date:from:reply-to:message-id:to:subject :mime-version:content-type:content-transfer-encoding; q=dns; s= default; b=E1hBYWddxMnyi1upDKYWmYDNktWVpyhfuIN4f77cit2+cvV0nEMCt M5JcuNcgAeKGrpLohZ1iS+3qyDJsj8gk7PyqaiWEEFlOUkt2vdav+sjbdfkF4sar b5sUyT4yV/ZS9YhZYL4/xibVvaA2UR1LelJQFerORbBHd5jXbkmYh0= 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:date:from:reply-to:message-id:to:subject :mime-version:content-type:content-transfer-encoding; s=default; bh=pdCqX1u17dUQ2nlIKVKf+dVT9W8=; b=H8QJo4jRlqZauzq5P7beCF4oCSOP AWhe7w0ZFQBjY7TTTAS6P/iG85JT1ATWsC9kyKifQ7SxdanyQN6/u48PhZT7NAV3 ReJZ0MZlneYOFC4s7XOJId4E5mrDmOKW52o3pclMJD4KUd9iBrS/BGZyicf+ufk3 ks1gl+Jdx6q0U9U= 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=1.1 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,KAM_THEBAT,MIME_BASE64_BLANKS,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*MI:yandex, H*c:windows-1251, works!, all! X-HELO: forward5o.cmail.yandex.net Authentication-Results: smtp3o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0 Date: Thu, 1 Jun 2017 04:08:48 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <111156332.20170601040848@yandex.ru> To: All Subject: dash is unable to start scripts from non-ASCII paths in non-UTF8 locale MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1251 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id v511KKTv020055 Greetings, All! Start native console with login shell, :~ $ locale && mkdir тест && cd тест && printf '%s\n' '#!/bin/dash' 'echo "Works!"' > test.sh && ls -l test.sh LANG=ru_RU.CP866 LC_CTYPE="ru_RU.CP866" LC_NUMERIC="en_US" LC_TIME="ru_RU.CP866" LC_COLLATE="ru_RU.CP866" LC_MONETARY="ru_RU.CP866" LC_MESSAGES="en_US" LC_ALL= -rwxr-xr-x 1 anrdaemon None 26 июн 1 04:06 test.sh :~/тест $ ./test.sh /bin/dash: 0: Can't open ./test.sh :~/тест $ bash ./test.sh Works! -- With best regards, Andrey Repin Thursday, June 1, 2017 03:56:45 Sorry for my terrible english... -- 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