4 lines
329 B
Plaintext
4 lines
329 B
Plaintext
' Starts pc_monitor_mqtt.py without a console window (for the Startup folder or a scheduled task).
|
|||
|
|
Set fso = CreateObject("Scripting.FileSystemObject")
|
||
|
|
dir = fso.GetParentFolderName(WScript.ScriptFullName)
|
||
|
|
CreateObject("WScript.Shell").Run """" & dir & "\.venv\Scripts\pythonw.exe"" """ & dir & "\pc_monitor_mqtt.py""", 0, False
|