Ubuntu中文论坛
致力于Ubuntu中文推广
http://forum.ubuntu.com.cn/
解决cscope/gtags在外部命令执行中断之后出错的patch
http://forum.ubuntu.com.cn/viewtopic.php?t=360762
分页:
1
/
1
解决cscope/gtags在外部命令执行中断之后出错的patch
发表于 :
2012-01-14 22:06
由
kevinlei
vim在执行外部命令的时候,如果收到ctrl + c,就会给所有的子进程发sig_int信号,导致所有子进程(包括cscope,gtags-cscope)退出。
所以解决办法就是,把子进程SIG_INT屏蔽掉就好了。