* Committed initial (system* "foo" "bar") code.
@ 2003-11-19 21:54 Rob Browning
2003-11-21 0:17 ` Kevin Ryde
0 siblings, 1 reply; 2+ messages in thread
From: Rob Browning @ 2003-11-19 21:54 UTC (permalink / raw)
After reading and thinking about all the comments, I decided on a C
implementation so that people can easily call scm_system_star from C
if they need to, and so that we can have more careful control over the
system state if needed.
The current version is careful to allocate the args before the fork,
and follows the libc and perl convention of blocking SIGINT and
SIGQUIT so that killing the child won't kill guile (in perl's similar
function). That's all the current version deals with. I decided to
start with the current code, which covers the stuff that obviously has
to be done, and then make fixes as we figure out what else we need.
(Docs have been added to posix.texi as well.)
Thanks.
--
Rob Browning
rlb @defaultvalue.org and @debian.org; previously @cs.utexas.edu
GPG starting 2002-11-03 = 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Committed initial (system* "foo" "bar") code.
2003-11-19 21:54 Committed initial (system* "foo" "bar") code Rob Browning
@ 2003-11-21 0:17 ` Kevin Ryde
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Ryde @ 2003-11-21 0:17 UTC (permalink / raw)
Rob Browning <rlb@defaultvalue.org> writes:
>
> The current version is careful to allocate the args before the fork,
> and follows the libc and perl convention of blocking SIGINT and
> SIGQUIT
For reference, what posix says on the subject can be found at
http://www.opengroup.org/onlinepubs/007904975/functions/system.html
> then make fixes as we figure out what else we need.
SCM_SYSERROR in the child will want to go I think, due to the way gtk
uses atexit, as discussed. _exit(127) might be a good idea until a
pipe to get the error back to the parent is introduced.
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-11-21 0:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-19 21:54 Committed initial (system* "foo" "bar") code Rob Browning
2003-11-21 0:17 ` Kevin Ryde
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).