This repository contains the following two Vital modules
System.Job
-- A job wrapper of Vim 8 and NeovimSystem.Process.Job
-- A process client usingSystem.Job
internally
Install the repository in your runtimepath
and then
:Vitalize . +System.Job
:Vitalize . +System.Process.Job
Then
" System.Job
let s:Job = vital#vital#import('System.Job')
let job = s:Job.start(['git', 'status'])
" System.Process.Job
let s:Process = vital#vital#import('System.Process')
call s:Process.register('System.Process.Job')
let options = {
\ 'clients': ['System.Process.Job'],
\}
let result = s:Process.execute(['git', 'status'], options)