Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #8170

OpenRead fails to open fifo (aka a pipe). Why?

From Ian <carroll.ian@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject OpenRead fails to open fifo (aka a pipe). Why?
Date 2012-01-26 08:26 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <jfr2ng$nbn$1@smc.vnet.net> (permalink)

Show all headers | View raw


I'm working with Mathematica 8 on Linux.

First, from the command line:
>>mkfifo aPipe

In Mathematica, OpenWrite["aPipe"] works like a charm. I can write to it and get the result on the command line using cat. But, OpenRead["aPipe"] fails with "OpenRead::noopen: Cannot open aPipe."

Why isn't Mathematica able to open the pipe for reading? Can anyone suggest a workaround for reading lines out of a fifo?

Thanks
-Ian

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

OpenRead fails to open fifo (aka a pipe). Why? Ian <carroll.ian@gmail.com> - 2012-01-26 08:26 +0000

csiph-web