• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

k-takata / vim / 318 / 12
80%
master: 84%

Build:
Build:
LAST BUILD BRANCH: use-check-commands
DEFAULT BRANCH: master
Ran 07 May 2019 12:19PM UTC
Files 87
Run time 4s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

07 May 2019 12:03PM UTC coverage: 2.412%. First build
BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes

push

travis-ci

k-takata
win32: Fix command execution without vimrun.exe

`:help win32-vimrun` says that:

> If "vimrun" cannot be found, the command is executed directly, but
> then the DOS window closes immediately after the external command
> has finished.

This implies that external commands can be executed even without
vimrun.exe.  However, currently `:echo system('dir')` causes E484 if
vimrun.exe doesn't exist.  The vimrun.exe itself uses `_wsystem()` to
execute the external command.  It means that the command line is parsed
twice by cmd.exe; first by `cmd /c` because of the 'shell' and
'shellcmdflag' options, second by _wsystem() in vimrun.exe.  However, if
the vimrun.exe doesn't exists, the command line is parsed only once.
This difference caused the E484 error.

An easy way to fix this is using `cmd /c cmd /c` to execute external
commands if the vimrun.exe doesn't exist.  The command line is parsed
twice by cmd, so the problem doesn't occur.

3107 of 128791 relevant lines covered (2.41%)

225.98 hits per line

Source Files on job 318.12 (BUILD=no TEST=unittests COVERAGE=yes CFLAGS=--coverage LDFLAGS=--coverage FEATURES=huge SHADOWOPT= SRCDIR=./src CHECK_AUTOCONF=yes)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 306
  • Travis Job 318.12
  • bb75e21c on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc