Linux PING command in Python using subprocess