Skip to content

readlink for python<3.9; use own pid if no args

This is a really, really nice tool. I've added the readlink workaround for py3.8 (Ubuntu LTS; I think Debian Buster is even at 3.7) you mentioned on kakoune-discuss, and made the no-args call to use the program's own PID.

This allows things like

./pipe-map.py | dot -Tpng | display -

to work out of the box (well, provided ImageMagick is installed)

Merge request reports

Loading