Skip to content

In what scenario would stdin come from a socket? #2448

Answered by BurntSushi
smahm006 asked this question in Q&A
Discussion options

You must be logged in to vote

This is the commit that added the ft.is_socket() predicate: 020c545

The commit message also basically answers your question. It sounds like PowerShell uses a socket instead of a fifo. I do not know why it's implemented that way.

See also #1741, which is where the bug was originally reported.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@smahm006
Comment options

@BurntSushi
Comment options

Answer selected by smahm006
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants