josegonzalez/php-queuesadilla

implement exec-based worker

josegonzalez opened this issue · 4 comments

implement exec-based worker

Could you elaborate on how you think this should work?

Basically something that calls exec and executes the job in a sub-shell. Kind of weird, but would mean that the parent shell can survive weird exceptions/segfaults.

It is not good idea, I have experienced that exec is too slow sometimes, this explains little bit why http://stackoverflow.com/a/16671752/991419

@LubosRemplik I'm not saying it's for every situation, just something I've seen be useful in work.