Files
hotels/run_check.py

14 lines
285 B
Python
Raw Permalink Normal View History

#!/usr/bin/env python3
import subprocess
result = subprocess.run(['python3', '/root/engine/public_oversight/hotels/quick_check.py'], capture_output=True, text=True)
print(result.stdout)
if result.stderr:
print("STDERR:", result.stderr)
print("EXIT CODE:", result.returncode)