[imp] ispell not working

Szókovács Róbert szo at ies.hu
Mon Jan 9 09:08:50 PST 2006


Chuck Hagenbuch wrote:

> Quoting Szókovács Róbert <szo at ies.hu>:
> 
>> it's the shell. horde uses php's exec() which uses libc's popen()
>> which invokes a shell (/bin/sh usually), which invokes the executable
>> you want to use. It's not nice and I already complained about it on
>> horde and php forums :)
> 
> Well that was nice of you. Do you have anything productive to offer,
> like an alternative?

Of course: you could use pipe, fork and exec. The same that popen does,
only leave out the shell, exec the executable direcly.

On the other hand, I'm ready to learn why you have to have a shell in
php's exec(), but I was not able find any explanation to this design
decision.

br

Szo



More information about the imp mailing list