cf5: python g:argv is added to command line
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user