【发布时间】:2015-09-23 06:23:17
【问题描述】:
有了 vscode,我想要我自己的 python 任务运行器。
我在 task.json 中创建了自己的任务运行器。但是它没有完成并继续运行。
代码版本 0.4
我唯一的目标是运行一个 python 应用程序并在新的拆分窗口中显示服务器连接。
python app.py
这就是我创建它的方式,但它的错误会让我朝着正确的方向前进
// A task runner for python
// Runs a python program
{
"version": "0.1.0",
"command": "python",
// The command is a shell script
"isShellCommand": true,
// Show the output window only if unrecognized errors occur.
// "showOutput": "silent",
// args is the HelloWorld program to compile.
//"args": ["HelloWorld.ts"],
// use the standard tsc problem matcher to find compile problems
// in the output.
//"problemMatcher": "$tsc"
}
【问题讨论】: