Top "Pipe" questions

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

running a command line containing Pipes and displaying result to STDOUT

How would one call a shell command from Python which contains a pipe and capture the output? Suppose the command …

python command-line pipe
Using SAS Macro to pipe a list of filenames from a Windows directory

I am trying to amend the macro below to accept a macro parameter as the 'location' argument for a dir …

sas pipe sas-macro dir file-io
how to use os.system() in python for running an shell order

In some shell script, you need to confirm "yes" to run the shell, well, an easier way is using "yes" …

python shell pipe os.system
Getting output from a shell/dos app into a Delphi app

I have a commandline application coded in delphi that I need to call from a normal desktop application (also coded …

delphi pipe windows-shell shellexecute
Multiline syntax for piping a heredoc; is this portable?

I'm familiar with this syntax: cmd1 << EOF | cmd2 text EOF but just discovered that bash allows me to …

bash shell pipe sh heredoc
java.net.SocketException: Broken pipe

I am getting this for all the database connections from my app server.. This exception occured for couple of hours, …

java sockets pipe resin
real time subprocess.Popen via stdout and PIPE

I am trying to grab stdout from a subprocess.Popen call and although I am achieving this easily by doing: …

python logging subprocess pipe popen
Piping to findstr's input

I have a text file with a list of macro names (one per line). My final goal is to get …

batch-file pipe findstr
The usage of pipe in AWK

What I want is to get the reversed string of current line, I tried to use the rev command in …

awk pipe getline
How to make a python script "pipeable" in bash?

I wrote a script and I want it to be pipeable in bash. Something like: echo "1stArg" | myscript.py Is …

python pipe