1
How send ping (python)
[deleted]

I want to send ping. What am I doing wrong?

import subprocess
x=subprocess.run('ping -n 3 8.8.8.8', shell = True)

Error :
/bin/sh: 1: ping: not found

You are viewing a single comment. View All
1
[deleted]

@Vandesm14
do you think this is a bug? It can be blocked, so as not to create a kind of botnet. I would like to hear those who know for sure.