Sindbad~EG File Manager

Current Path : /opt/imh-python/lib/python3.9/site-packages/pyroute2/ipdb/
Upload File :
Current File : //opt/imh-python/lib/python3.9/site-packages/pyroute2/ipdb/utils.py

import os
import subprocess


def test_reachable_icmp(host):
    with open(os.devnull, 'w') as devnull:
        return subprocess.check_call(
            ['ping', '-c', '1', host], stdout=devnull, stderr=devnull
        )

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists