| delorie.com/archives/browse.cgi | search |
| X-Spam-Check-By: | sourceware.org |
| Date: | Wed, 29 Mar 2006 08:02:43 -0700 |
| From: | "Jerry D. Hedden" <jerry AT hedden DOT us> |
| Subject: | 'run' command quirks |
| To: | cygwin AT cygwin DOT com |
| Message-ID: | <20060329080243.fb30e530d17747c2b054d625b8945d88.2650412c0c.wbe@email.email.secureserver.net> |
| MIME-Version: | 1.0 |
| X-IsSubscribed: | yes |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| 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 |
I am trying to run the Windows version of gVim from a bash script using
the 'run' command.
Starting gVim directly (i.e., without using 'run') works:
'/cygdrive/c/program files/vim/vim64/gvim.exe'
Using 'run' works if I 'cd' to the gVim directory first:
cd '/cygdrive/c/program files/vim/vim64/'
run gvim.exe
However, the following fails:
run '/cygdrive/c/program files/vim/vim64/gvim.exe'
with the following dialog box:
Error: Couldn't find "/cygdrive/c/program files/vim/vim64/gvim.exe"
anywhere.
I even looked in PATH
I also tried appending the following extensions:
[1]:
[2]: .exe
Likewise, the following also fails:
run -p '/cygdrive/c/program files/vim/vim64/' gvim.exe
with the following dialog box:
Error: Couldn't find gvim.exe anywhere.
I even looked in PATH
I also tried appending the following extensions:
[1]:
[2]: .exe
What am I doing wrong?
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |