Linwei
Linwei
你 vim 的当前目录和你程序所在的目录不一致造成的?
shell 的 $PATH 配置不一致啊,你之前写的是 interactive shell 的配置,但是命令行运行 shell 命令是不会加载 interactive shell 的配置的,你可以写全 ssh、do-scp 的路径,或者增加 non-interactive shell 的 $PATH 对应配置。
https://github.com/skywind3000/asynctasks.vim/wiki/Task-Examples#silence-and-notify please update to the latest version, `notify` no accept vimscript starting with a `:` notify=:call MyTaskFinished()
默认的内置终端必须在任务结束的情况下才能复用,如果老任务没有结束,则会创建新的窗口。 可以考虑使用 [vim-terminal-help](https://github.com/skywind3000/vim-terminal-help) 提供的交互式终端,每次运行的时候只是发送命令过去,不会创建新的终端窗口,搭配 [asyncrun.extra](https://github.com/skywind3000/asyncrun.extra),可以让 asyncrun/asynctasks 具备调用 terminal-help 的能力,然后设置: let g:asynctasks_term_pos = 'termhelp' 你基本就得到了一个和 vscode 一样的可复用终端了: 
难加,你自己写在 makefile 里,让该插件调用即可。
I can't reproduce your problem, could you diagnose this with: ```VimL :echo asyncrun#get_root('%') ``` And see if the output is correct.
what is your vim version number ?? operating system ??
It is not a simply task, which would significantly increase the complexity. Many corner cases need to be handled. No problem for issues, they let me know how to polish...
It is difficult to chain tasks with different `output` and `pos` together.
Some kinds of tasks (including user defined runners) have no exit callback to notify AsyncTask to proceed next one. Some tasks will open a new split/tab, if people are editing...