MathGroup Archive 2012

[Date Index] [Thread Index] [Author Index]

Search the Archive

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

  • To: mathgroup at
  • Subject: [mg124597] OpenRead fails to open fifo (aka a pipe). Why?
  • From: Ian <carroll.ian at>
  • Date: Thu, 26 Jan 2012 03:25:25 -0500 (EST)
  • Delivered-to:
  • Reply-to: comp.soft-sys.math.mathematica at

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?


  • Prev by Date: GramSchmidt function
  • Next by Date: Re: exercises: suppress printing of answers
  • Previous by thread: Re: GramSchmidt function
  • Next by thread: Probability