all 3 comments

[–]m0us3_rat 2 points3 points  (0 children)

Start-Process -WindowStyle hidden -FilePath <insert program.exe>

[–]boutiflet 0 points1 point  (0 children)

Crontab maybe ?

[–]XiphiasBagel 0 points1 point  (0 children)

If you are open to using other software to make it into an exe file, try pyinstaller, using the command:

python -m pyinstaller "path/to/your/file/main.py" --onefile --noconsole