[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#796608: espeakup: diff for NMU version 1:0.71-27.1



On 3 July 2016 at 16:33, Samuel Thibault <sthibault@debian.org> wrote:
> Felipe Sateler, on Sun 03 Jul 2016 17:31:14 -0300, wrote:
>> I think the daemonization needs to move later as well:
>
> Why?

Because the usual protocol is "fork when ready". This way you can
simply do stuff like:

$ sudo espeakup && espeak hola || echo "failed to start!"

And it works as expected.


> Opening the sound card before forking doesn't look like a good idea to
> me.

Why would it be bad? Eg, pulseaudio opens the sound card before forking as well.

> I prefer to use the pidfile presence as the notification of
> espeakup being ready than risking forkish things :)

I think the usual protocol is that the forking is done when ready.

-- 

Saludos,
Felipe Sateler


Reply to: