Testing this code, it appears that testlist of 10000 chars abort call.
How is the max and how can I pass all the data by job_starting vim ?
Thank you in advance.
Niva
function! awl#testfunc(arg) "{{{
echomsg "eheh"
echomsg string(a:arg)
endfu
"}}}
" let testlist= ['1','2','3']
let nb = 1
let max = 10000
let testlist=[]
while nb < max
call add( testlist, string(nb) )
let nb+=1
endwhile
call job_start([expand('$VIMRUNTIME').'/gvim_amd64.exe', '-c', 'echo awl#testfunc('.string(testlist).')'])