Python parallel plugin management.

* Main differences from ruby are inside Command class, notably it
poll/sleeps on the subprocess to check output & timeout.
* Another difference, interrupt is not instaneous due to checking var.
* Otherwise, I mainly just mirrored code into objects.
* Note that due to GVim freeze, disabling use on Windows
This commit is contained in:
Jeremy Pallats/starcraft.man
2015-02-12 11:59:50 -05:00
parent 74169f3761
commit e362fd5931
4 changed files with 423 additions and 16 deletions

View File

@@ -39,9 +39,13 @@ Execute (Initialize test environment):
endif
endfunction
Execute (Print Ruby version):
Execute (Print Interpreter Version):
redir => out
silent ruby puts RUBY_VERSION
if has('ruby')
silent ruby puts 'Ruby: ' + RUBY_VERSION
elseif has('python')
silent python import sys; svi = sys.version_info; print 'Python: {}.{}.{}'.format(svi[0], svi[1], svi[2])
endif
redir END
Log substitute(out, '\n', '', 'g')