[vlc-devel] commit: macosx: Properly relaunch VLC when asked for. (Pierre d'Herbemont )

Pierre d'Herbemont pdherbemont at free.fr
Tue Sep 16 21:40:36 CEST 2008


On Sep 16, 2008, at 3:53 PM, Rémi Denis-Courmont wrote:

>
> On Tue, 16 Sep 2008 15:34:45 +0200,  wrote:
>> I've back-ported this commit for reference but we will need to rework
>> it before the next release. The posix-spawn-API isn't part of the
>> 10.4u SDK and therefore doesn't compile with it.
>
> Hmmph. I do not really understand what the point of posix_spawn-then- 
> exit
> is. posix_spawn() replaces fork-then-exec. If you want to exit  
> anyway, why
> don't you just exec()?

true. I should have used a dummy exec. I just wanted to play with  
posix_spawn.

> And if you really need to posix_spawn() due to the
> would-be crappy Apple run-time, then you are totally screwed (as in  
> broken
> behavior or no 10.4 support).

No it's fine: as always, I don't build with 10.4u sdk so I didn't  
notice...

Pierre.


More information about the vlc-devel mailing list