Displaying 2 results from an estimated 2 matches for "pipe_open".
Did you mean:
pipes_open
2002 Aug 05
1
pipe and binary i/o
...ant to use "pipe" with "readBin" to read (binary) data from the
standard output of a Perl or C program. For that I need "pipe" to work with
the "open='rb'" option. It never worked for me, and after a look at the
connections.c file, I see that in "pipe_open" the mode gets passed directly
to "popen" (I'm using Linux on an Intel machine). Popen doesn't know "rb"
and fails. I modified the pipe function in connection.c to pass only the
first character of the mode. This seems to work (fingers crossed). Then I
noticed gzfile...
2002 Aug 06
0
pipe and binary i/o (on Linux)
...th "readBin" to read (binary) data from the
> > standard output of a Perl or C program. For that I need "pipe" to work
with
> > the "open='rb'" option. It never worked for me, and after a look at the
> > connections.c file, I see that in "pipe_open" the mode gets passed
directly
> > to "popen" (I'm using Linux on an Intel machine). Popen doesn't know
"rb"
> > and fails. I modified the pipe function in connection.c to pass only the
> > first character of the mode. This seems to work (fingers c...