guile-devel
[Top][All Lists]
Advanced

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

Re: Support for (system '("echo" "foo" "bar"))


From: Paul Jarc
Subject: Re: Support for (system '("echo" "foo" "bar"))
Date: Fri, 31 Oct 2003 15:31:34 -0500
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux)

Kevin Ryde <address@hidden> wrote:
> address@hidden (Paul Jarc) writes:
>> Oops, right.  Kevin also mentioned using _exit.  I'm not sure why that
>> would be important,
>
> When exiting due to an exec failure, you generally don't want to run
> atexit handlers or flush stdio buffers.  Those things of course are
> not done if the exec succeeds.

Ok.  My procedure uses flush-all-ports before the fork, but atexit
could still be an issue.  In this particular case, though, we don't
need _exit; we can just do (raise SIGKILL).  The parent ignores the
exit status if an exception was passed back.


paul




reply via email to

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