fsharp/fsharpbinding — pull request #850 by leafgarland (2014-11-24 12:59:30+00:00)
Title: Add stderr redirect to fix Windows Popen issue

This Python issue http://bugs.python.org/issue3905 details a problem with `Popen` when the host process has been launched from the cmd line.

A workaround is to redirect ALL of stdin, stdout and stderr to PIPE.

You can easily recreate the issue (without my fix) like this (assuming cmd.exe):

cd vim/fsharpbinding
gvim -c ":py from fsharpvim import *" -c ":py FSAutoComplete('.')"

If we use `start` to simulate running from a shortcut then there is no problem

start gvim -c ":py from fsharpvim import *" -c ":py FSAutoComplete('.')"