Vim now supports job and channels
vim now supports job and channels
function! Handler(ch, msg) echom a:msg endfunction
let job = job_start('cmd /c dir /s/b c:', { 'callback': 'Handler' })
function! Handler(ch, msg) echom a:msg endfunction
let job = job_start('cmd /c dir /s/b c:', { 'callback': 'Handler' })