ish
ish copied to clipboard
Cannot open /dev/fd/63: no such file or directory
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?
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
.
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
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)
Got cat: can't open '/dev/fd/63': No such file or directory
when trying to use pyenv. Any updates on a fix?
Ideas?
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.
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)