[plt-scheme] wmzscheme

From: Matthew Flatt (mflatt at cs.utah.edu)
Date: Mon Nov 21 18:00:19 EST 2005

At Sun, 13 Nov 2005 20:38:17 +0100, Hans Oesterholt wrote:
> Sometime ago I asked a question regarding wmzscheme.
> This issue was solved with the answer provided here.
> 
> However I stumbled on one thing:
> 
> Look here for the command line I need to use to
> get wmzscheme.exe working with the 'standard collection paths as installed'
> 
> D:\build\log\wmzscheme.exe -e 
> (begin(current-library-collection-
> paths(cons\"d:/devel/mzscheme/collects\"(current-library-collection-
> paths)))(require\"log4scm-viewer.scm\")(main)(exit))
> 
> Is there a better way?

You could build the collection path into the "wmzscheme.exe" binary:

 (require (lib "embed.ss" "compiler"))
 (make-embedding-executable "wmzscheme.exe" 
                            #f #f null null
                            `((current-library-collection-paths
                               ',(current-library-collection-paths)))
                            null
                            '((subsystem . windows)))

Matthew



Posted on the users mailing list.