filters now run by fork/exec

Bill Moseley <[email protected]> Thu, 19 Oct 2006 13:41:55 -0700 (PDT)
Newsgroups gmane.comp.web.swish-e
Message-ID <[email protected]>
I updated filter.c to fork and exec the filter program where fork is
available.  This should take care of all problems with weird or
dangerous characters in file names.

It would be great if any of you following this topic could cvs update
and try it out.

I didn't attempt using CreateProcess() on Windows as I have no way to
test.  popen is still used.  All args are wrapped in double quotes and
I'm not sure it's possible to have weird chars in Windows paths.

Dave is testing the windows code.

My dislike for FileFilter is why I wrote the -S prog method many years
ago. ;)

-- 
Bill Moseley
[email protected]

Unsubscribe from or help with the swish-e list: 
   http://swish-e.org/Discussion/

Help with Swish-e:
   http://swish-e.org/current/docs
   [email protected]