On Sat, Aug 16, 2003 at 06:24:09AM -0700, [EMAIL PROTECTED] wrote: > > I wanted to use a named pipe to provide random images. I know I can use > a program in a loop writing to the pipe, but that means starting the > program initially (from say a init.d or xdm startup script) where it > sits blocked until read from. > > Question: > > Is there a way in Linux to have the action of the reading program > opening the pipe (for reading) start up the writing program? > > For example, if output_image.pl is a script that writes an image to a > named pipe, is there a way to associate it to a pipe where you can say: > > $ display some_named_pipe > > and have that action execute the program output_image.pl? > > I'm just wondering if there's a way to avoid starting the writing > program.
I'm almost certain there isn't. You could however do this with a `translator' under the Hurd, I think. -- Rob Weir <[EMAIL PROTECTED]> | [EMAIL PROTECTED] | Do I look like I want a CC? Words of the day: AMW illuminati Clinton CDC Kennedy Delta Force ASPIC NSA NASA
pgp00000.pgp
Description: PGP signature