From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14062 invoked by alias); 6 Feb 2014 08:20:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 14048 invoked by uid 89); 6 Feb 2014 08:20:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=4.1 required=5.0 tests=AWL,BAYES_50,FREEMAIL_FROM,KAM_THEBAT,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: smtpback.ht-systems.ru Received: from smtpback.ht-systems.ru (HELO smtpback.ht-systems.ru) (78.110.50.181) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 06 Feb 2014 08:20:23 +0000 Received: from [91.78.166.180] (helo=darkdragon.lan) by smtp.ht-systems.ru with esmtpa (Exim 4.80.1) (envelope-from ) id 1WBKBu-0001Qw-1P; Thu, 06 Feb 2014 12:20:12 +0400 Received: from [192.168.1.10] (HELO daemon2.darkdragon.lan) by daemon2 (Office Mail Server 0.8.12 build 08053101) with SMTP; Thu, 06 Feb 2014 08:13:52 -0000 Date: Thu, 06 Feb 2014 08:20:00 -0000 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <2810090853.20140206121352@mtu-net.ru> To: Warren Young , cygwin@cygwin.com Subject: Re: Newbie Questions In-Reply-To: <52F2E214.1060403@etr-usa.com> References: <1898639722.6893470.1391541591920.JavaMail.root@ptd.net> <52F153AE.5080704@gmail.com> <52F28215.5030801@ptd.net> <52F28330.6060101@cygwin.com> <52F2AA5D.4000000@etr-usa.com> <52F2AD84.1050008@etr-usa.com> <709102296.20140206020738@mtu-net.ru> <52F2D9AF.1060409@etr-usa.com> <11910654512.20140206050031@mtu-net.ru> <52F2E214.1060403@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00086.txt.bz2 Greetings, Warren Young! >> [C:\home\Daemon]$ bash -c ./foo.sh > That's not the same command I gave you. -c changes how bash.exe > interprets the following parameter. According to `man bash', that's the correct command to execute scripts with bash. > It matters, because when you right-click a *.sh file in Windows > Explorer, say Open With, then tell Explorer to use bash.exe to open such > files now and in the future, it isn't going to stick -c in the command > for you. > If you did change the file association in the registry, adding -c, that > still isn't going to help because Windows Explorer is going to pass the > full Windows-style path to bash.exe in place of the %1. Plus you still > have the PATH issues I brought up in my previous email. -- WBR, Andrey Repin (anrdaemon@yandex.ru) 06.02.2014, <12:13> 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