blacktwin / JBOPS

Just a Bunch Of Plex Scripts
1.67k stars 307 forks source link

Launches temporary command window when script is executed #425

Open katmando911 opened 2 months ago

katmando911 commented 2 months ago

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):

Additional context N/A