cf5: python g:argv is added to command line

This commit is contained in:
Vahagn Khachatryan
2014-11-12 18:32:20 +04:00
parent e24d7dea71
commit 76cafedb54

View File

@@ -64,20 +64,13 @@ endfunction
function! s:InterpretPython(run) "{{{2
" Interpret it
let cmd = "python " . g:pyflags . " " . expand("%")
let cmd = "python " . g:pyflags . " " . expand("%") . ' ' . g:argv
echo cmd
let cout = system( cmd )
echo cout
if v:shell_error
return
endif
" run it
"let classpath=expand("%:p:r")
"let exename=expand("%:r")
"let cmd = "java " . exename . " " . g:argv
"echo cmd
"let eout = system( cmd )
"echo eout
endfunction
function! s:CompileWindows(run) "{{{2