This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]