You can safely use that as the Ruby is run in a limited contained env. Feel free to run `rm -rf` too
system("ping -c 2 8.8.8.8");
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=55 time=1.98 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=55 time=1.75 msAnd as rikkus pointed out, there's no timeout on runs too. This is just asking for trouble.