Questions tagged [anonymous-pipes]
17 questions
10
votes
1 answer
Bash Anonymous Pipes
When designing a chain of commands to perform a certain task, i ran into the problem that anonymous pipes do not behave like expected. As the original command that i am running is too complex to explain here, i've created an example that shows the…

Fabraxias
- 221
- 3
- 7
3
votes
3 answers
Anonymous Pipes
I've written a two short programs that use anonymous pipes to communicate. The parent process shares the pipe handles by setting the standard IO handles for the child:
// -- Set STARTUPINFO for the spawned process…
user206705
3
votes
2 answers
Is anonymous pipes the right way to go here?
I have an application that consists of two exe's. Let's call them MyApp.exe and MyAppStarter.exe. The reason I have MyAppStarter.exe is so that it can first check on the network if there is a new version of MyApp.exe available so that it can copy it…

Dewald Swanepoel
- 1,651
- 4
- 15
- 38
2
votes
1 answer
Inheriting C# Anonymous Pipe Handle in C++ Process
I am trying to inherit a Pipe Handle from a C# parent process to a C++ Child process.
I create the Parent in the C# Process in the following way:
AnonymousPipeServerStream pipe = AnonymousPipeServerStream(PipeDirection.Out,…

Erik Schulze
- 119
- 9
1
vote
2 answers
Anonymous pipes and Grep command
I'm trying to implement the following pipe using anonymous pipes :
cat filename | grep "a" | wc -c
The program seems to be hanging on the grep command and i don't see why. I've tried with some other commands rather than grep, and worked…

user996922
- 161
- 1
- 12
1
vote
1 answer
How to measure speed of an execution via IPC of two applications
I have a sending application that sends a command via an anonymous pipe.
I have a receiving application that receives the command, handles it, and returns a result.
The sending application receives the result.
I can time the length of the complete…

xMRi
- 14,982
- 3
- 26
- 59
1
vote
2 answers
How exactly are anonymous pipes implemented in Solaris?
I'm trying to understand Unix pipes, and I can't find any information about Solaris anonymous pipes, which are created with something like pipe(2).
As far as I know, this system call creates a buffer somewhere in kernel space, and links read and…

Gregpack
- 45
- 6
1
vote
1 answer
Win32: transactions on anonymous pipes
Documentation for TransactNamedPipe Function claims that "This parameter can also be a handle to an anonymous pipe, as returned by the CreatePipe function."
This would mean that it is possible to use transactions on anonymous pipes. As I understand…

Tomasz Grobelny
- 2,666
- 3
- 33
- 43
1
vote
0 answers
Need clarity on anonymous pipes
I was reading anonymous pipes on MSDN. they say:
"The process can also duplicate a pipe handle using the DuplicateHandle function and send it to an unrelated process using some form of interprocess communication, such as DDE or shared memory."
I was…

ks2
- 43
- 1
- 8
1
vote
1 answer
How can I get a list of Anonymous pipes opened
As a follow up to the older question : How can I get a list of all open named pipes in Windows? , I am in a situation where I need to check if a process uses anonymous pipes to communicate with its children. Is there a way to do this ? I've tried…

asudhak
- 2,929
- 4
- 22
- 27
0
votes
1 answer
Using WaitForMultipleObjects on anonymous Pipe ( msdn )
I have an issue in using WaitForMultipleObjects on Anonymous Pipe. My goal is to Wait on a pipe to be written and another object at the same time. To be more precise, I am using pipes for local IPC. I saw on stackoverflow an approach where you can…

R27J02
- 15
- 4
0
votes
1 answer
Getting textbox value from a 3rd party app in C#
I am trying to develop a background working C# application, that needs to detect when a random 3rd party application is opened, filled out and a button is clicked.
I know i can get some info for the 3rd party app as a process, but is it possible to…

Filip5991
- 383
- 1
- 3
- 13
0
votes
1 answer
Java WINAPI Anonymous Pipe Invalid/Not Found?
Java seems unable to inherit anonymous pipes from the WinAPI, I am using my own library and can not figure out what the issue is.
Library source on the current commit.
The anon test:
package net.gudenau.lib.pipes.test;
import java.io.File;
import…

gudenau
- 500
- 5
- 19
0
votes
0 answers
Using QIODevice with anonymous pipes
I want to use a QIODevice in order to read from a unnamed pipe if data is available.
I tried this with QFile:
m_pFile_Pipe = new QFile();
HANDLE hRead, hWrite;
connect(m_pFile_Pipe, SIGNAL(readyRead()), this,…

NTG
- 73
- 9
0
votes
0 answers
Are anonymous pipes safe for moving encryption keys between apps (IPC)
Im thinking of sending sensitive data (encryption keys) from a windows service to an ADFS plugin. Would this be safe?

WiredLessInTX
- 113
- 1
- 6