[英]vscode - python task runner
with vscode i want my own python task runner. 与vscode我想要我自己的python任务运行程序。
I created my own task runner in task.json. 我在task.json中创建了自己的任务运行器。 However it doesn't complete and continues to run.
但是,它尚未完成并继续运行。
Code version 0.4 代码版本0.4
My only aim is to run a python app and show the server connect in the new split window. 我唯一的目的是运行python应用程序,并在新的拆分窗口中显示服务器连接。
python app.py
this is how I created it but its wrong can snyone push me in the right direction 这就是我创建它的方式,但是它的错误可能会使我朝着正确的方向前进
// 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"
}
The task runner currently waits for the process to finish. 任务运行器当前正在等待过程完成。 As long as the process is running we spin the progress bar in the status bar.
只要进程正在运行,我们就旋转状态栏中的进度栏。 We have support for 'long' running tasks and executing more than one task on the backlog.
我们支持“长期”运行的任务,并在积压订单中执行多个任务。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.