delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-1.0 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40 |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <4B9775C2.8000300@towo.net> |
References: | <720660 DOT 16774 DOT qm AT web88302 DOT mail DOT re4 DOT yahoo DOT com> <20100310092536 DOT GS6505 AT calimero DOT vinschen DOT de> <e6940be71003100203h297db699ua44ae9086bf64a72 AT mail DOT gmail DOT com> <4B9775C2 DOT 8000300 AT towo DOT net> |
Date: | Wed, 10 Mar 2010 11:59:33 +0100 |
Message-ID: | <e6940be71003100259h10b143ffx85b30461e7b82557@mail.gmail.com> |
Subject: | Re: allow executing a path in backslash notation |
From: | Ilya Beylin <beylin DOT i AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Thomas, you are right, it is rather an issue with bash: when does not see a slash in the command name, it starts path searching, and of course finds nothing. Looks like a bug. $ "$WINDIR\system32\cmd.exe" /c echo ok bash: C:\WINDOWS\system32\cmd.exe: command not found $ "$WINDIR/system32\cmd.exe" /c echo ok ok -- Ilya -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |