On 2/23/22 08:54, Andreas Schneider wrote:
On Tuesday, February 22, 2022 7:41:16 PM CET Artur Frenszek-Iwicki
wrote:
>> error: Unable to open /dev/stdin: No such device or address
>
> How about "/proc/self/fd/0"?
Nope doesn't work ... /dev/stdin is a symlink to /proc/self/fd/0. I wonder if
this is only available with a shell ...
That has nothing to do with the shell. It's a kernel filesystem thing.
You could try executing a shell script that dumps the available file
descriptors to see what's happening.