command-line .scm execution (was Re: Where's --load for 2.0.0?

Larry Evans cppljevans at cox-internet.com
Thu Jul 13 19:28:34 EDT 2006


On 07/13/2006 05:24 PM, Derek Atkins wrote:
> Quoting Larry Evans <cppljevans at cox-internet.com>:
> 
> 
>>Good idea.  I'll just have to read guile manual to figure how to
>>specify the directory where modules are found.  I had tried
>>figuring how gnucash does this and found:
>>
>>  /usr/bin/gnucash-env
>>  gnucash-2.0.0/src/report/standard-reports/test/test-load-module
>>
>>but maybe doing as you suggest would be simpler.
> 
> 
> GUILE_LOAD_PATH
> 

The following works:

   gnucash-env guile -s ~/prog_dev/gnucash/tests/demo-zero-base.scm

As shown, I had to put the full path name of the .scm file :(



More information about the gnucash-devel mailing list