[EMAIL PROTECTED] 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.
[snip]

This recipe for asynchronous communication using subprocess could be 
used to write an expect-like tool:
   http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/440554

It works on both Windows and *nix.


  - Josiah
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to