On Fri, Jan 18, 2013 at 01:09:16PM +0100, J1 Simón wrote: > I want to define a script to show a tray icon while lftp is > running in background. There is no way to define this because there > isn't a command like "set cmd:at-background", so I'll show the tray > icon while lftp is running (<i>foreground and background</i>).<br>
Probably it would be better to monitor UNIX sockets in ~/.lftp/bg/ directory. Every lftp background instance creates a UNIX socket there. > In other case, there is no way to set a command when lftp finish > totally.<br> There is "cmd:at-exit-bg" command. HTH. -- Alexander. _______________________________________________ lftp mailing list lftp@uniyar.ac.ru http://univ.uniyar.ac.ru/mailman/listinfo/lftp