1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] vscode - python task runner

Discussão em 'Python' iniciado por Stack, Março 29, 2025.

  1. Stack

    Stack Membro Participativo

    with vscode i want my own python task runner.

    I created my own task runner in task.json. However it doesn't complete and continues to run.

    Code version 0.4

    My only aim is to run a python app and show the server connect in the new split window.

    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"
    }

    Continue reading...

Compartilhe esta Página