'noshelltemp' option is working.
from https://github.com/thinca/vim-ref/blob/master/autoload/ref.vim#L383
ref#system()
:set noshelltemp
:set shellxquote=
:let &shellredir = '>%s 2>' . shellescape(tempname())
:echo system('""ghc-mod" "type" "./grep.hs" "main" "gcd""')
E484: Can't open file c:/cygwin-1.7/tmp/VIo730.tmp
:set noshelltemp
:set shellxquote= or set shellxquote="
:let &shellredir = '>%s 2>' . tempname()
:echo system('""ghc-mod" "type" "./grep.hs" "main" "gcd""')
or
:set noshelltemp
:set shellxquote=(
:let &shellredir = '>%s 2>' . tempname()
:echo system('"ghc-mod" "type" "./grep.hs" "main" "gcd"')
is working.
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php