flandre/test/tcp.py
2025-01-19 18:27:26 +08:00

6 lines
207 B
Python

import subprocess
if __name__ == '__main__':
code = subprocess.run(['curl', '-m', '1', 'http://11.6.1.66:22'], stderr=subprocess.DEVNULL,
stdout=subprocess.DEVNULL).returncode