Top "Pipe" questions

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

Catching error codes in a shell pipe

I currently have a script that does something like ./a | ./b | ./c I want to modify it so that if …

shell error-handling pipe
Detect if stdin is a terminal or pipe?

When I execute "python" from the terminal with no arguments it brings up the Python interactive shell. When I execute "…

c++ c qt pipe stdin
How to get the PID of a process that is piped to another process in Bash?

I am trying to implement a simple log server in Bash. It should take a file as a parameter and …

bash pipe pid
angular - using async pipe on observable<Object> and bind it to local variable in html

Hi I have a observable user$ with a lot of properties (name, title, address...) component{ user$:Observerable<User>; …

angular typescript pipe local-variables angular2-observables
Get length of .wav from sox output

I need to get the length of a .wav file. Using: sox output.wav -n stat Gives: Samples read: 449718 Length (…

audio grep pipe wav sox
How to wait for a stream to finish piping? (Nodejs)

I have a for loop array of promises, so I used Promise.all to go through them and called then …

node.js asynchronous promise pipe pdftotext
Python subprocess timeout?

Is there any argument or options to setup a timeout for Python's subprocess.Popen method? Something like this: subprocess.Popen([…

python timeout pipe subprocess popen
Linux why can't I pipe find result to rm?

sorry if this is a noobie question but I can't find a good answer. To find then remove something I …

linux bash find pipe rm
Can someone explain what dup() in C does?

I know that dup, dup2, dup3 "create a copy of the file descriptor oldfd"(from man pages). However I can't …

c pipe dup2 dup
When to use Pipes vs When to use Shared Memory

I am reading about various IPC mechanism. I am trying to figure out the scenarios, where we use Shared Memory …

linux ipc pipe shared-memory