Loading ...
Sorry, an error occurred while loading the content.

Re: Piping Vim Variables to Shell Execution

Expand Messages
  • Mikolaj Machowski
    ... HTH m.
    Message 1 of 4 , Aug 31, 2005
    • 0 Attachment
      Dnia środa, 31 sierpnia 2005 21:04, Alejandro Calbazana napisał:
      > Hello,
      >
      > Can anyone help me with how to pipe a variable (in this case a
      >
      > classpath) to shell execution. For example:
      > :!echo expand('$CLASSPATH')
      > :
      > :!java -cp expand('$CLASSPATH') MyClass
      >

      :help exe

      :exe "!java -cp ".expand('$CLASSPATH')." MyClass"

      HTH

      m.
    Your message has been successfully submitted and would be delivered to recipients shortly.