trouble controlling vim with subprocess on windows machine

Josiah Carlson josiah.carlson at
Mon Jul 9 18:06:17 CEST 2007

Eric_Dexter at wrote:
>      I am having trouble contolling vim with subprocess on a windows
> machine.  It appears that vim comes up on the machine all right and it
> sometimes looks like it is doing the searchs what I am asking it to do
> but when I am asking it to load a file it doesn't do anything.  Is
> there something I need to do to push the data through the pipe??  Here
> is a couple different ways I am trying to do it.

This recipe for asynchronous communication using subprocess could be 
used to write an expect-like tool:

It works on both Windows and *nix.

  - Josiah

More information about the Python-list mailing list