Infinite loop attempting to read Scheme interpreter output
Posted: Mon Apr 30, 2007 9:26 pm
Trying to use Textpad with a scheme interpreter command line utility. When the first one resulted in an endless loop (SISC), I tried another (Larceny) with the same result.
I set up a new tool to run a dos command or program and capture output. I run the tool against my current code file and I get the results I expect (a scheme "hello world") followed by endless lines in the output reading (for SISC - don't know exactly what Larceny reports because I can't stop the tool from running), "Error in read-code: error reading from port '#<character-input-port>': The handle is invalid".
Adding the command to exit the execution loop in the interpreter in my code does nothing.
Hoping someone can tell me what I'm missing...
I set up a new tool to run a dos command or program and capture output. I run the tool against my current code file and I get the results I expect (a scheme "hello world") followed by endless lines in the output reading (for SISC - don't know exactly what Larceny reports because I can't stop the tool from running), "Error in read-code: error reading from port '#<character-input-port>': The handle is invalid".
Adding the command to exit the execution loop in the interpreter in my code does nothing.
Hoping someone can tell me what I'm missing...