Hello Rolf-Werner > DIM hFile AS File > DIM sLine AS String > > hFile = PIPE "/tmp/FIFO1" FOR INPUT > > PRINT "Now let's start:" > > WHILE NOT Eof(hFile) > LINE INPUT #hFile, sLine > PRINT sLine > WEND > > PRINT "That's it." >
You can't wait until EOF on a named pipe! Also a 'tail' on a named pipe will never give you some data - but 'cat' do! Just read and find another mechanism to stop reading. Hope that helps Rolf
signature.asc
Description: This is a digitally signed message part.
------------------------------------------------------------------------------
_______________________________________________ Gambas-user mailing list Gambas-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gambas-user