JBOPS icon indicating copy to clipboard operation
JBOPS copied to clipboard

Launches temporary command window when script is executed

Open katmando911 opened this issue 1 year ago • 0 comments

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

katmando911 avatar Jul 09 '24 02:07 katmando911