Guile hacking -- accessing backtrace environment frames?

Derek Atkins warlord@MIT.EDU
02 Nov 2000 08:54:31 -0500

Dave Peticolas <> writes:

> Right. I just checked in some changes to src/guile/
> that makes running as a shell easier. Now, gnucash loads the same
> startup files regardless of whether it's running as a shell or not.
> The only difference is whether it invokes gnc:main or drops to the
> guile shell.

Ahh, so I don't need to run my script anymore?  Cool!



export GNC_DEBUG=t
export GNC_BOOTSTRAP_SCM=/var/tmp/gnucash/share/gnucash/scm/bootstrap.scm

cat <<EOF
Try running the following code in guile:

(primitive-load (getenv "GNC_BOOTSTRAP_SCM"))
(gnc:load "startup.scm")


# Run whichever one was built last.
exec /var/tmp/gnucash/bin/gnucash \
  --debug \

> dave

       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL:      PP-ASEL      N1NWH
       warlord@MIT.EDU                        PGP key available