Why two exception throwed when using subprocess.run()? : I am using python subprocess.run() to process some command. I want to capture output/erro/returncode, and want to have timeout if the command is blocked.
The code is simple:

    cmd = "ping 1.1.1.1 -n 5"
    subprocess.run(cmd, shell=True, timeout=2)

But the result confused me, why two exception throwed?

