I'm trying to figure out why my script isn't running It don't show no error code nor does my script work. Is there a way I can see what the issue is?
Set WshShell = Server.CreateObject("WScript.Shell")
Dim ExecOperation, ExCode, StdOut
python_program = "c:/python37-32/python.exe "
py_file = "C:/inetpub/webroot/hcoutreach.com/PythonScripts/PrintQrCodeConverter.py"
cmdLine = python_program & " " & py_file & " " & intFam_Id
Set ExecOperation = WshShell.Exec(cmdLine)
' ' Check the operation's status
While (ExecOperation.Status = 0)
WaitForMilliseconds(100)
WEnd
' ' Get the operation's exit code
ExCode = ExecOperation.ExitCode
' ' Get the application's StdOut stream
Set StdOut = ExecOperation.StdOut
value = StdOut.ReadAll