chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
fishdescriptor: WIP fishing module, before move to own module
[chiark-utils.git]
/
fishdescriptor
/
greenend
/
fishdescriptor
/
__init__.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 '