stdout not working as expected under "cmd" in Windows XP
- Posted by eujeth Jul 12, 2010
- 1046 views
I've created an extremely simple Euphoria program that looks like this:
C:\EUPHORIA\DEMO>type b1.ex
puts(1, "this is a test\n")
printf(1, "%s", "this is another test\n")
I run "cmd" under Windows XP, set PATH and EUPATH correctly and then try to "ex b1.ex":
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\Administrator>cd c:\EUPHORIA
C:\EUPHORIA>set PATH=%PATH%;C:\EUPHORIA\BIN
C:\EUPHORIA>set EUPATH=C:\EUPHORIA
C:\EUPHORIA>cd DEMO
C:\EUPHORIA\DEMO>ex b1.ex
this is a test
t
C:\EUPHORIA\DEMO>
Why am I not seeing the two sentences I'm outputting? The same happens when running under "command" instead of "cmd".