chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] daemonize egg: redirect I/O?


From: felix winkelmann
Subject: Re: [Chicken-users] daemonize egg: redirect I/O?
Date: Wed, 31 Oct 2007 07:44:19 +0100

On 10/31/07, Ozzi <address@hidden> wrote:
>
> Ok, I think I understand what you're getting it. Unfortunately I can't get it 
> to
> work. You'll have to excuse the thrown-together quality of the code below, but
> it demonstrates the problem I have. Perhaps I am just mis-using dynamic-wind, 
> or
> I have to use something besides (exit) when catching the kill signal, I'm not 
> sure.
>

The "exit" will not invoke any pending dynamic-wind thunks, you can use
"reset" instead. To clean up before exiting, you might also check use the
"on-exit" procedure.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]