Remix.run Logo
smcameron 4 days ago

Can't you just read from /proc/pid/fd/0 ?

irishcoffee 4 days ago | parent | next [-]

This was my first thought as well. I assume somehow I'm the dummy that doesn't understand the question.

jmclnx 3 days ago | parent | prev [-]

OpenBSD does not have a /proc file system.