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 :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=jy6tk8AIVKJTgp6s GAzDqaAUDBYGN2pfkrNRXScJFJF9ohdm297BcZGsZAvoZOWhITWo6urI9PdFEn2B VQDQLQNnWtA6fcpU6kt7tYSqxp14PZmvqu0E8BRd/f9G6nP82iAesBx03HmB23Zy OXpJfZ45oa0FOxQg3HoZ4WkNTs0= 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 :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=pJifSPh5BhyQrdWDsEJXcJ 8YEhY=; b=kOeDLtyzR4azBXWhmL5bGfUul/io49tuis4hhHFXR2Yyo8bttyFURQ kZS+NpwHLfDGB48jA1XO6KK12sy+DJ1ABA1R8m1ycOwxUY5uaF0p07jvNn+7/H1A qbUNchb4l+0XWM7PJ0Bo/7w7AXET7nXnVIUbaly66wD0JhvrWPzqQ= 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-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 Date: Thu, 6 Feb 2014 12:13:52 +0400 From: Andrey Repin Reply-To: Andrey Repin Message-ID: <2810090853.20140206121352@mtu-net.ru> To: Warren Young , cygwin AT cygwin DOT com Subject: Re: Newbie Questions In-Reply-To: <52F2E214.1060403@etr-usa.com> References: <1898639722 DOT 6893470 DOT 1391541591920 DOT JavaMail DOT root AT ptd DOT net> <52F153AE DOT 5080704 AT gmail DOT com> <52F28215 DOT 5030801 AT ptd DOT net> <52F28330 DOT 6060101 AT cygwin DOT com> <52F2AA5D DOT 4000000 AT etr-usa DOT com> <52F2AD84 DOT 1050008 AT etr-usa DOT com> <709102296 DOT 20140206020738 AT mtu-net DOT ru> <52F2D9AF DOT 1060409 AT etr-usa DOT com> <11910654512 DOT 20140206050031 AT mtu-net DOT ru> <52F2E214 DOT 1060403 AT etr-usa DOT com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 AT yandex DOT 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