Hi, On Wed, Oct 13, 2004 at 04:23:29PM +0100, Tristan Hill wrote: > I use the --scan-script option with scanadf, however, if I want to do > some work on all the files processed by the script is it difficult > because scanadf may finish before one or more of the script processes > do. For example, I want to use it to combine the processed images into > a single file. As scanadf knows what processes it has forked I thought > it easiest to use wait(), implemented as per attached patch. However, I > am open to other suggestions.
So you do something like: "scanadf --scan-script script && some-other-script image*."? Ok. The patch looks ok (untested). But I'll apply it after the sane-frontends release as it's a new feature. Thanks! Bye, Henning
