On Wed, Jan 05, 2005 at 11:49:25AM -0800, Richard Morin wrote:
> As the trace indicates, both programs are having problems
> with the same file. Unfortunately, no error code is being
Well, that's a pain. It might be worth talking to the xpdf author
about when the program returns error codes.
The other option when a program doesn't return an error code but
prints to stderr is to capture stderr and watch for a given message
(or any at all).
You do that with IPC::Open3. perldoc perlfaq8 has a section that
describes how to capture both stderr and stdout. That would replace
the fork/exec that is done currently in run_program().
Unsubscribe from or help with the swish-e list:
Help with Swish-e:
Received on Wed Jan 5 12:10:28 2005