questions about named pipe objects...
waltbrad at hotmail.com
Mon Mar 17 19:18:02 CET 2008
On Mar 17, 1:59 pm, Jeff Schwab <j... at schwabcenter.com> wrote:
> A Unix fifo is only nominally a file. It's really just a convenient way
> of referring to an in-memory object.
> mkfifo f
> some_prog > f &
> cat f
> Is semantically equivalent to:
> some_prog | cat
> If you want to peruse the data in your editor, use a regular file, not a
> fifo. Have the writer (producer, "child" in your example) open it in
> append mode.
Okay. I get it. That's interesting. Wish Lutz explained that. Thanks.
More information about the Python-list