[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MIT-Scheme-devel] I/O for MIT Scheme windows
From: |
Aaron S. Hawley |
Subject: |
Re: [MIT-Scheme-devel] I/O for MIT Scheme windows |
Date: |
Fri, 28 Nov 2008 13:34:33 -0700 |
On Thu, Nov 27, 2008 at 2:00 PM, Filobel <address@hidden> wrote:
>
> Hi,
>
> I'm trying to start MIT-Scheme Windows from another program, then send it
> commands. However, the Windows version doesn't seem to be using standard
> I/O, so sending the commands to Scheme's stdin doesn't work.
> The commands are always the same, so if there's a way to tell Scheme
> "execute the commands in file X" using the command line or whatever, that
> would be fine.
> Basically, how can I tell MIT-Scheme to execute :
> (load "insert-file-here")
> (some-command-here)
> (another-command-here)
> etc. From another program? If this were the Unix version, I could just
> pipe the stuff from a file as I call MIT-Scheme (something like "scheme <
> /usr/cph/foo.in"), but that won't work with the windows version.
Try running: `scheme --load /usr/cph/foo.in'.
>
> I don't even have to read anything because my scheme program writes
> everything in a file.