Page MenuHomePhabricator

Permit non-file types (i.e., named pipes) to be read from 'arc diff -F'
Closed, WontfixPublic

Description

In particular the zsh syntax

arc diff -F <(some command) creates a named pipe and passes it as a file reference:

[10021 eax@EagleMac   ~ ]%file <(echo foo)
/dev/fd/11: fifo (named pipe)
[10023 eax@EagleMac   ~ ]%cat <(echo foo)
foo

but arc dies when reading this:

Requested path `/dev/fd/11' is not a file.

A named pipe should be allowed

Event Timeline

eadler raised the priority of this task from to Needs Triage.
eadler updated the task description. (Show Details)
eadler added a project: Arcanist.
eadler updated the task description. (Show Details)
eadler added a subscriber: eadler.
epriestley claimed this task.

What's wrong with permitting reading from named pipes? While the trivial example I showed may not be useful, I've wanted to modify my commit template using sed or the like.