ish icon indicating copy to clipboard operation
ish copied to clipboard

Cannot open /dev/fd/63: no such file or directory

Open xezo360hye opened this issue 3 years ago • 7 comments

Using structure command1 <(command2) results in the error from title. Tried workarounds like ln -s /proc/self/fd /dev/fd or installing udev but this didn't help - /proc/self/fd contains only 0, 1, 2 and 3 files. Any suggestions if it's fixable locally?

xezo360hye avatar Jan 24 '22 21:01 xezo360hye

This is somewhat analogous to issue #164.

However, running the example script from issue #104 results in the following error:

line 5: /dev/fd/63: No such file or directory
                ^^

Note: I get /dev/fd/63 and not /dev/fd/62 as reported in issue #104.

robCam avatar Jan 29 '22 13:01 robCam

This is somewhat analogous to issue #164

Yeah, it is, I didn’t see that issue because of its title

Note: I get /dev/fd/63 and not /dev/fd/62 as reported in issue #104

It vary sometimes, earlier I had the same problem and it also pointed to /dev/fd/62

xezo360hye avatar Jan 29 '22 14:01 xezo360hye

I’m experiencing this issue with Translate Shell, installed with apk add translate-shell:

$ trans -I
gawk: fatal: cannot open source file `/dev/fd/63' for reading: No such file or directory

gawk itself does work:

$ gawk -F: '{ print $1 }' /etc/passwd
root
bin
daemon
adm
lp
sync
shutdown
...

I'd like to see if it is possible to get this to work, so that I can use polyglot on my iOS devices.

iSH 1.2.4 (Build 434)

specious avatar Nov 30 '22 19:11 specious

Got cat: can't open '/dev/fd/63': No such file or directory when trying to use pyenv. Any updates on a fix?

kalebmckale avatar Feb 07 '23 00:02 kalebmckale

Ideas?

kalebmckale avatar Apr 25 '23 07:04 kalebmckale

I get the same error while running "pass generate"

pass generate tmp 8
/usr/bin/pass: line 538: /dev/fd/63: No such file or directory
Could not generate password from /dev/urandom.

ArshadSiddiqui avatar Dec 16 '23 21:12 ArshadSiddiqui

on alpine

mkfifo pipe
echo echo hi > pipe &
bash < pipe

works fine, but ish stuck on bash < pipe part, and sometimes it will even stuck on > pipe & section

--

Further testing shows that it sometimes works, so a dirty solution is to create such pipe, and let bash read from it (highly inconsistent)

Truth1984 avatar May 30 '24 02:05 Truth1984