Skip to content

Commands like add and files write don't detect pipes on Windows #3266

@mateon1

Description

@mateon1

Version information:

go-ipfs version: 0.4.4-dev-73cd8b3
Repo version: 4
System version: amd64/windows
Golang version: go1.7

Type: Bug

Priority: P3

Description:

As the title says, commands like ipfs add and ipfs files write don't detect whether they are being piped into on Windows.
This doesn't allow to add files into ipfs or mfs with a single step, as in echo text | ipfs add or echo text | ipfs files write /path/in/mfs.
(instead echo text > file; ipfs add file; ipfs files cp /ipfs/hash /path/in/mfs; rm file has to be used)

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/enhancementA net-new feature or improvement to an existing featuretopic/windowsWindows specific

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions