Top "Pipe" questions

A pipe is an interprocess connection between file descriptors of two processes.

Connecting n commands with pipes in a shell?

I am trying to implement a shell in C. I can execute simple commands just fine with a simple execvp() …

c shell posix pipe
Best way to Pipe InputStream to OutputStream

I was to trying to find the best way to pipe the InputStream to OutputStream. I don't have an option …

java pipe java-io
use pipe for curl data

I'm trying to pass the cat output to curl: $ cat file | curl --data '{"title":"mytitle","input":"-"}' http://…

curl pipe
Piping command output to tee but also save exit code of command

I have a shell script in which I wrap a command (mvn clean install), to redirect the output to a …

bash shell pipe sh tee
Force line-buffering of stdout when piping to tee

Usually, stdout is line-buffered. In other words, as long as your printf argument ends with a newline, you can expect …

unix buffer pipe stdout tee
Node.js Piping the same readable stream into multiple (writable) targets

I need to run two commands in series that need to read data from the same stream. After piping a …

javascript node.js stream pipe node.js-stream
Pipe buffer size is 4k or 64k?

I read in multiple places that the default buffer size for a pipe is 4kB (for instance, here), and my …

c linux size buffer pipe
Using FFMPEG to stream continuously videos files to a RTMP server

ffmpeg handles RTMP streaming as input or output, and it's working well. I want to stream some videos (a dynamic …

ffmpeg streaming pipe named-pipes rtmp
How to trick an application into thinking its stdout is a terminal, not a pipe

I'm trying to do the opposite of "Detect if stdin is a terminal or pipe?". I'm running an application that's …

bash terminal pipe stdin
How do you read from stdin in python from a pipe which has no ending

I've problem to read from Standard input or pipe in python when the pipe is from a "open" (do not …

python pipe stdin