我想执行一个任务,该任务将构建一个项目并在pdf查看器中打开生成的pdf文件:
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "make",
},
{
"label": "Build and View",
"type": "process",
"command": "evince",
"args": [
"_build/document.pdf"
],
"dependsOn": ["Build"],
"group": {
"kind": "build",
"isDefault": true
}
}
]
但是,这使VS Code等待pdf查看器进程存在。这不是我想要的。另外,当再次运行任务时,我得到