Capturing console output on Windows
- Posted by "Juergen Luethje" <j.lue at gmx.de> Oct 12, 2004
- 423 views
Hi all, I've been using Euphoria 2.4 for a long time successfully with the ConTEXT editor on Windows 98. In ConTEXT I chose the option "Capture console output", and I associated my .EXW programs with EXW.EXE. This works fine, normal program output is captured by ConTEXT, Euphoria's error messages are shown in a separate console window. Recently I wanted to use Euphoria at work on Windows XP. Using EXW.EXE, ConTEXT doesn't capture normal program output, but error messages are shown like on Windows 98. Using EXWC.EXE, normal program output is captured like on Windows 98, but error messages are not shown! The full picture is given here (concerning ConTEXT 0.97.5): interpreter | command | Win 98 | Win XP | ------------+---------+--------------------+--------------------+ | ? 1 | output is | output is not | | | captured | captured, process | | | | terminates | | | | automatically | exw.exe +---------+--------------------+--------------------+ 2.4 | ? 1* | output is not | output is not | | | captured, a | captured, a | | | console window | console window | | | pops up that | pops up that | | | shows the error | shows the error | | | message | message | ------------+---------+--------------------+--------------------+ | ? 1 | output is | output is | | | captured | captured | exwc.exe +---------+--------------------+--------------------+ 2.4 | ? 1* | output is not | output is not | | | captured, process | captured, process | | | doesn't terminate! | doesn't terminate | | | | automatically, a | | | | "Terminate" button | | | | is displayed | ------------+---------+--------------------+--------------------+ It looks as if I can't reasonably use Eu 2.4 and ConTEXT on Win XP!! Are there other experiences concerning Eu 2.4, ConTEXT and Win XP? How do other editors behave in this regard? ConTEXT captures normal output and error messages of e.g. the Lua 5.0.2 interpreter on Win 98 and Win XP as expected. I would appreciate it, if EXWC.EXE 2.5 would work the same way. Regards, Juergen -- We don't know where to GOTO if we don't know where we've COME FROM. http://www.fortran.com/fortran/come_from.html