Skip to content

Support opening files passed as file descriptors similar to stdin #110425

@septatrix

Description

@septatrix

What I mean by file descriptors are /proc/self/fd/11 (and /dev/fd/63) which are generated by zsh (and bash respectively) when executing commands like code <(echo Hello World).
As writing to these descriptors is not possible AFAIK these would have to be handled similar to stdin, i.e. generating a temporary file which gets filled with the content read.

Initially I was going to report --diff not supporting these (code --diff <(echo hello) <(echo world)) but I found out that vscode does not support these at all. I will open a separate issue for the diff tool as it does not even seem to support stdin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestRequest for new features or functionalityworkbench-cliVS Code Command line issues

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions