[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
how to exit?
Stefan Israelsson Tampe
how to exit?
Sat, 27 Nov 2010 23:21:58 +0100
KMail/1.13.5 (Linux/220.127.116.11-0.5-desktop; KDE/4.4.4; x86_64; ; )
Ok, say that one want to execute a scheme function, f, in a child process
and then exit, somthing like this is used in scsh,
first fork and if in chile
Now cause we are in dubug context in the repl, we get this
Throw to key `quit' with args `(0)'.
Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue.
E.g. It handles the exit as an error. The setup has a list of pass-through
keys that, I think, is basicall '(quit). But issue (quit) does not work as
well. So probably the debug context does not follow that key's suggestion.
So this is sort of a show stopper, how to fix this?
if I add an if in the error-handler(on-trap debug) to follow the pass-keys?
This works but there might be some bad side effects :-)
Also, I get
Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
(setenv "GUILE_WARN_DEPRECATED" "detailed")
Does not work, I need to set it in the shell before starting guile
is this how it should work?
- how to exit?,
Stefan Israelsson Tampe <=