Skip to content

Can't consult named-pipes via process substitution #194

Open
@chuckhoupt

Description

@chuckhoupt

Some shells, like Bash, have a Process Substition Feature, that allows the output of one command to be passed to another via an ephemeral FIFO file.

Alspro incorrectly throws an error when trying to consult the FIFO file.

Error Example:

$ alspro <(echo ':- write(hello),nl.')
...
Error: File does not exist: /dev/fd/63.
- Error Attribute: '/dev/fd/63'
- Throw pattern: error(existence_error(file,'/dev/fd/63'),['/dev/fd/63'])

Expected output:

$ alspro <(echo ':- write(hello),nl.')
...
hello
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions