Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 2$ ./ping.py
- Traceback (most recent call last):
- File "./ping.py", line 16, in <module>
- ping()
- File "./ping.py", line 10, in ping
- stderr=STDOUT)
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 524, in call
- return Popen(*popenargs, **kwargs).wait()
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 703, in __init__
- errread, errwrite) = self._get_handles(stdin, stdout, stderr)
- File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1115, in _get_handles
- c2pwrite = stdout.fileno()
- AttributeError: 'tuple' object has no attribute 'fileno'
- bash-3.2$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement