Skip to content

can't execute /dev/stdin on linux #54200

Open
@asukaminato0721

Description

@asukaminato0721

Version

v22.5.1

Platform

Linux archlinux 6.10.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Sat, 27 Jul 2024 16:49:55 +0000 x86_64 GNU/Linux

Subsystem

No response

What steps will reproduce the bug?

printf 'console.log(1)' | node /dev/stdin

How often does it reproduce? Is there a required condition?

every time

What is the expected behavior? Why is that the expected behavior?

1

What do you see instead?

node:fs:453
    return binding.readFileUtf8(path, stringToFlags(options.flag));
                   ^

Error: ENOENT: no such file or directory, open '/proc/2513530/fd/pipe:[611889]'

Additional information

related so problem https://stackoverflow.com/q/77488707/13040423

Metadata

Metadata

Assignees

No one assigned

    Labels

    confirmed-bugIssues with confirmed bugs.linuxIssues and PRs related to the Linux platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions