LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   running script from within gVim? (https://www.linuxquestions.org/questions/linux-general-1/running-script-from-within-gvim-562247/)

antis 06-16-2007 11:30 AM

running script from within gVim?
 
Hi,

I'm trying to run a script from gVim like this:

:! myscript.sh

...but get a message back that the command cannot be found (shell returned 127).
The path to where the script is located is in my path and I can run it from the command line AND from vim without any problems.

So... why is gVim complaining that it cannot find the script?

Edit: Maybe I should add that it works ok if I give the absolute path to the script.


All times are GMT -5. The time now is 09:34 PM.