-
Couldn't load subscription status.
- Fork 13
Open
Description
I am trying to track coverage with vimrunner (via https://github.com/Vimjas/covimerage/), but the problem appears to be that it spawns a gvim instance without waiting for it.
My current attempt is to have a gvim wrapper, which I inject into the $PATH (it would be good to explicitly provide the executable btw):
#!/bin/sh
# echo "$@" >> /tmp/1l
# echo "$1" >> /tmp/1l
if [ "$1" = "--noplugin" ]; then
echo "Running covimerage run /usr/bin/gvim $*" > /tmp/1l
exec 1>>/tmp/1l
exec 2>>/tmp/1l
echo "running" >> /tmp/1l
covimerage -vv run --profile-file /tmp/foo.profile --source "$PWD" /usr/bin/gvim -f "$@"
else
exec /usr/bin/gvim "$@"
fiI've tried using & and wait here, but this script is already affected by the PTY.spawn.
Any hints?
Metadata
Metadata
Assignees
Labels
No labels