Gerald Richter wrote:
> try to run it offline with < /dev/null appended. That simulates what Apache
> does (not exactly the same)
>
> Does it work then ?
Yes - in other words, redirecting stdin to /dev/null doesn't seem to
make the script fail when being run in offline mode. Just as a sanity
check, here is the command line:
bash>embpexec.pl test.html < /dev/null
> Maybe the module Lingua::Ispell simply does not correctly clean up it
> childs. The childs are killed by the OS when your offline scripts
> terminates, but under mod_perl your process never terminates. Somebody wrote
> about setting %SIG, did you tried that ?
Yeah, somehow I misplaced Marcus' email but I finally tried it and it
does seem to get rid of the defunct processes. But it doesn't seem to
affect the main problem of the spawn failing. This is a real corker. I
wonder what else is different when we are running under Apache/mod_perl?
I guess it could still be a stdin problem, you mentioned that the <
/dev/null redirection is not exactly the same. I am stumped.
Hmmmm.
Any wild ideas most welcome...
TIA
-Neil
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]