Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^3: How to clear named pipe to just have one line

by moritz (Cardinal)
on Feb 08, 2014 at 13:29 UTC ( [id://1074011]=note: print w/replies, xml ) Need Help??


in reply to Re^2: How to clear named pipe to just have one line
in thread How to clear named pipe to just have one line

Modify P1 to not produce redundant data, or add a filtering script in the middle that produces only non-redundant data, so P1 | filter | P2.

Replies are listed 'Best First'.
Re^4: How to clear named pipe to just have one line
by techman2006 (Beadle) on Feb 08, 2014 at 13:54 UTC

    As process P1 is an server which is multithread and one of thread will try to read status from process P2. So process P1 will not have way to capture stdout of process P2.

      Being multithreaded has nothing to do with the ability to capture stdout.

      Aslo I don't understand how a named pipe would have helped.

      Maybe try to start from the beginning, explain what's actually going on, and what you want to achieve?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1074011]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (2)
As of 2024-04-26 03:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found