Join Nostr
2025-03-05 05:38:42 UTC
in reply to

LisPi on Nostr: One could perfectly well pass /proc/$PID/fd/$file files, I think, so paths should ...

One could perfectly well pass /proc/$PID/fd/$file files, I think, so paths should work too.

It works with memfd too. One can test it with python3 'import os; fd = os.memfd_create("test")' and looking in the process' procfs directory for the fd file entry.

some-program <(echo "uwu")

Is the bash way of passing an fd iirc.