On Fri, Jan 19, 2007 at 05:37:55PM +0100, David Ludvigsson wrote:
> However, a named pipe makes no different a plain file, when the pipe is empty 
> (all current commands in pipe are executed), lftp exits (and disconnects 
> from remote site) instead of waiting for the pipe to fill again (and 
> stay connected).

Make the pipe always open for writing, like this:

mkfifo fifo
exec 3<>fifo
lftp -f fifo &
echo help > fifo

-- 
   Alexander.

Reply via email to