[Nottingham] named pipes (fifo) help please

Martin martin at ml1.co.uk
Wed Oct 26 16:10:22 BST 2005


Folks,

I want to use a named pipe to let a second process read at random times 
the "latest results" from a first process...

What's the best/easiest way to avoid the first (writing) process 
blocking on the pipe if the second process doesn't read for a long time?

What I'm really after is just for the latest line of output to be picked 
up by the second process without risking a partial read if I use a text 
file for example instead of the pipe...


Any ideas?

(All in bash)

Cheers,
Martin

-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list