chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
a363c5e5318518b2eaeefdeeecbd8396eab2b82f
[chiark-utils.git]
/
fishdescriptor
/
py
/
fishdescriptor
/
fish.py
1
# python 3 only
2
3
import socket
4
5
def fish(pid, fds):
6
# -> list of fds in our process
7
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
8
9
def deliver(pid, fds, path):
10
gdb -batch -p %d -ex '