<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Matthew,<br>
<br>
Is it also possible to redirect stdout/stderr from within the wmzscheme
executable?<br>
<br>
Thanks<br>
Hans<br>
<br>
<br>
Matthew Flatt schreef:
<blockquote cite="mid200511212300.jALN0LjK031259@slow.flux.utah.edu"
 type="cite">
  <pre wrap="">At Sun, 13 Nov 2005 20:38:17 +0100, Hans Oesterholt wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">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?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
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:
  <a class="moz-txt-link-freetext" href="http://list.cs.brown.edu/mailman/listinfo/plt-scheme">http://list.cs.brown.edu/mailman/listinfo/plt-scheme</a>
  </pre>
</blockquote>
<br>
</body>
</html>