Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
xezo360hye opened this issue Jan 24, 2022 · 7 comments
Open

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

xezo360hye opened this issue Jan 24, 2022 · 7 comments

Comments

@xezo360hye
Copy link

xezo360hye commented Jan 24, 2022

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?

@robCam
Copy link

robCam commented Jan 29, 2022

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.

@xezo360hye
Copy link
Author

xezo360hye commented Jan 29, 2022

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

@specious
Copy link

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)

@kalebmckale
Copy link

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

@kalebmckale
Copy link

Ideas?

@ArshadSiddiqui
Copy link

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.

@Truth1984
Copy link

Truth1984 commented May 30, 2024

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants