Skip to content

Launches temporary command window when script is executed #425

@katmando911

Description

@katmando911

Describe the bug

Running these .py files will generally have Windows associate them with python.exe. This causes a command line window to pup up every time the script is executed. To avoid this, the script can be executed by pythonw.exe instead. The easiest way to do this is to name the files to have a .pyw extension instead of a .py extension. That will cause the script to execute in background and no longer launch a command window that just disappears after a second. Suggest adding this tip to the README

Provide logs
N/A

Link to script with bug/issue
All .py files such as kill_stream.py

To Reproduce

Steps to reproduce the behavior:
Launch a stream that is configured to be killed

Expected behavior
See description

Screenshots
N/A

Desktop (please complete the following information):

  • OS: Windows
  • Python Version 3.12.4
  • Tautulli Version V2.14.3

Additional context
N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions