X-Recipient: archive-cygwin@delorie.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=KIDNyEiPF8Wql+AmSrTqg+IUZTS3L2t2AwutwdjjzUp
	TAy/cNN/JA7/9As6OwYTM8w/Y/DKpoHmPZ2V0km6KzsXJJxv15UoJ2L2unCVEslB
	iu0YkoFOGG3f49qlepVcZowKsCp2JvmzRlHcHTDW3oGLjg/v6lqcxXPhGLraiMTk
	=
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=0Ui8LM90Y6OFwZmQKiZpDOyQ6pA=; b=PtpTInd1uzI7fwPoK
	VGIx+I265VNb3vGtHqbVsx2xs9Pk1aiWScxtWLgJ+tpxuSlLWvU+Y4O+ZDGVU12a
	TAIlbzWhqXN8Xf4LZR70ouGwLsn5AzFSIvfvx0X90DYZk0D2eyH7AlBckZGHKsH5
	mRg22Y7VVWyE1vnxf2eQ5cLQMw=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: etr-usa.com
Message-ID: <52F2E214.1060403@etr-usa.com>
Date: Wed, 05 Feb 2014 18:15:00 -0700
From: Warren Young <warren@etr-usa.com>
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0
MIME-Version: 1.0
To: Andrey Repin <cygwin@cygwin.com>
Subject: Re: Newbie Questions
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>
In-Reply-To: <11910654512.20140206050031@mtu-net.ru>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

On 2/5/2014 18:00, Andrey Repin wrote:
>
> [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.

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.

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

