Arc Forumnew | comments | leaders | submitlogin
What's the best way to run arc from another directory?
1 point by maw 6459 days ago | 1 comment
This is what I'm currently doing:

(define (gogogo) (let ((old-cwd (current-directory))) (current-directory "/usr/share/arc") (load "as.scm") (current-directory old-cwd)))

(gogogo) (tl)

All of that goes into /usr/share/arc/arc.scm. The rest of the contents (sans the copyright file) are also going into /usr/share/arc too.

/usr/bin/arc is a shell script that just runs mzscheme -f /usr/share/arc/arc.scm

And, yes, I'm installing stuff to /usr with proper package management.



1 point by parenthesis 6458 days ago | link

I'm just using a shell alias - arc - to bring mzscheme and arc together from the silly directories I've got them in (I'm using someone else's computer).

-----