[plt-scheme] wmzscheme

From: Hans Oesterholt-Dijkema (hdnews at gawab.com)
Date: Wed Nov 23 03:02:45 EST 2005

Hi Matthew,

Is it also possible to redirect stdout/stderr from within the wmzscheme 
executable?

Thanks
Hans


Matthew Flatt schreef:

>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
>
>_________________________________________________
>  For list-related administrative tasks:
>  http://list.cs.brown.edu/mailman/listinfo/plt-scheme
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20051123/8beaf7e0/attachment.html>

Posted on the users mailing list.