This is the mail archive of the
cygwin
mailing list for the Cygwin project.
'run' command quirks
- From: "Jerry D. Hedden" <jerry at hedden dot us>
- To: cygwin at cygwin dot com
- Date: Wed, 29 Mar 2006 08:02:43 -0700
- Subject: 'run' command quirks
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/