Group Abstract Group Abstract

Message Boards Message Boards

0
|
4.6K Views
|
1 Reply
|
0 Total Likes
View groups...
Share
Share this post:

OpenRead does not read from a pipe?

Posted 12 years ago
POSTED BY: Pawel Osiczko

(Truth in advertising... I don't know much about this ;-) )

Reading the documentation where it says

On systems that support pipes, OpenRead["!command"] runs the external program specified by command, and opens a pipe to get input from it.

perhaps that suggests that you need to open the pipe directly in the argument of OpenRead rather than first creating it using Run?

When I try this it seems to work:

In[3]:= OpenRead["!mkfifo /tmp/test.fifo"]

Out[3]= InputStream["!mkfifo /tmp/test.fifo", 237]
POSTED BY: David Reiss
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard