new thread. Hope it's not a problem that I repost this question:
I'm trying to make a basic mp3 player plugin for vim and the vim
crashes. Here's what I'm doing:
def f(): os.system("mplayer '%s' >/dev/null 2>&1" % path)
def play(): Thread(target=f).start()
play()
path is the path to mp3 file that script gets from current line.
If I do this from command line, it works fine, but when I run it in vim,
here's the error I get:
Vim: caught deadly signal SEGV
How can I do this? thanks!
--
You received this message from the "vim_use" 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
No comments:
Post a Comment