Top "Pipe" questions

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

Redirect Windows cmd stdout and stderr to a single file

I'm trying to redirect all output (stdout + stderr) of a DOS command to a single file: C:\>dir 1> …

windows command-line cmd pipe
How can I pipe stderr, and not stdout?

I have a program that writes information to stdout and stderr, and I need to process the stderr with grep, …

bash grep stdout pipe stderr
Retrieving the output of subprocess.call()

How can I get the output of a process run using subprocess.call()? Passing a StringIO.StringIO object to stdout …

python pipe subprocess stringio
How to open every file in a folder?

I have a python script parse.py, which in the script open a file, say file1, and then do something …

python file pipe stdout stdin
Read values into a shell variable from a pipe

I am trying to get bash to process data from stdin that gets piped into, but no luck. What I …

linux bash pipe
How to pipe list of files returned by find command to cat to view all the files

I am doing a find and then getting a list of files. How do I pipe it to another utility …

unix find pipe
How to send a simple string between two programs using pipes?

I tried searching on the net, but there are hardly any resources. A small example would suffice. EDIT I mean, …

c unix pipe
Why does cURL return error "(23) Failed writing body"?

It works ok as a single tool: curl "someURL" curl -o - "someURL" but it doesn't work in a pipeline: …

macos bash curl osx-lion pipe
How to use `subprocess` command with pipes

I want to use subprocess.check_output() with ps -A | grep 'process_name'. I tried various solutions but so far …

python linux subprocess pipe
What are named pipes?

What are they and how do they work? Context happens to be SQL Server

sql-server pipe named-pipes