Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by moritz (Cardinal)
on Feb 08, 2014 at 13:29 UTC ( #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.


Comment on Re^3: How to clear named pipe to just have one line
Download Code
Re^4: How to clear named pipe to just have one line
by techman2006 (Sexton) 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
Node Status?
node history
Node Type: note [id://1074011]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (9)
As of 2014-08-21 05:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (127 votes), past polls