LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-16-2007, 11:30 AM   #1
antis
Member
 
Registered: Nov 2004
Location: sweden
Distribution: Arch
Posts: 67

Rep: Reputation: 15
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.

Last edited by antis; 06-16-2007 at 11:34 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i get an error message running php script inside a cgi script. repolona Linux - Software 0 02-22-2007 09:10 PM
Running a Script sirius56 Linux - Newbie 3 01-02-2007 12:55 PM
running a .sh script bungle3 Linux - Software 3 10-03-2006 08:59 AM
Running Script Upon Login edwin11 Linux - Software 7 06-26-2006 04:24 AM
Running a script spacemonk Linux - Newbie 4 07-30-2004 04:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration