On 09/16/2012 11:37 PM, Simon W. Jones wrote:
Marc,

The solution that worked was the one provided by Tony, as I mentioned in my 
reply to him.  It was:

:update | let variablename = system('nameofscript < ' . 
shellescape(expand('%'),1))

I did try your suggestion (as I've already written).

-------------
Simon W. Jones.

On 16 Sep 2012, at 21:20, Marc Weber <[email protected]> wrote:

Excerpts from Simon W. Jones's message of Sun Sep 16 21:30:53 +0200 2012:
I read and tried it Marc but it didn't work for me. Thanks for responding.
Hard to believe. Do you want to capture stderr?
let var = system('python script.py 2>&1') is the way to go then.

What else can go wrong this way?

It looks to me what you actually needed was how to get the right input for the python script.

Timothy Madden

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to