Bugs: Browse | Submit New | Admin

[#3052] on Win XP: output DOS window flashes open and closes before I can see the output

Date:
2005-12-15 22:11
Priority:
3
Submitted By:
Nobody
Assigned To:
Jonathan Maasland (jonathanm)
Category:
Script Runner
State:
Open
Summary:
on Win XP: output DOS window flashes open and closes before I can see the output

Detailed description
I want to use Freeride on my Win XP box, Version 2002, sp 1, but the
output DOS window just flashes open and closes before I can see the
output. I'm using ruby 1.8.2 (2004-12-25) [i386-mswin32] and Freeride
version 0.9.4.

I've searched around the comp.lang.ruby newsgroup and found someone
with a similar problem, but he never got a way to make it work, that I
could see. (Subject: Re: FreeRIDE: Where does the output go? posted 22
Jul 2005)

I get this:

>ruby C:\ruby-proj\process.rb
>exit

This is a simple script and I'd actually like to see the output
captured in the console window I suppose, if I could answer the script
when it wants some input.
My Debug/Run preferences are set to save files before running and run
in a terminal.

Anybody else with this? Any hints? Is this a bug?

I also set an environment variable RUBY_PLATFORM to 'mswin32' that
showed up in code from a stack trace without the terminal option set,
but that does not help either.

Add A Comment: Notepad

Please login


Followup

Message
Date: 2006-07-13 20:59
Sender: James Pepper

I've experienced something similar, with the dos window flashing
closed straight away. I've found it to be an uncaught exception
- try wrapping the main script block in begin...rescue, or uncheck
"Run process in Terminal" on the Edit/Preferences/Debug
menu item
Date: 2006-04-22 03:18
Sender: Nobody

I've tried a lot of things, and cannot get output. No new window
comes up, even very briefly.

I'm going to teach a Ruby course in a month, and I certainly
won't use FreeRIDE if I can't even get output reliably (not to
say "at all").

If there's a way to fix this, I'd love to hear it. Even if there
is a fix, I'd regard this as a SERIOUS bug.
Date: 2006-04-22 00:44
Sender: Nobody

I've tried a lot of things, and cannot get output. No new window
comes up, even very briefly.

I'm going to teach a Ruby course in a month, and I certainly
won't use FreeRIDE if I can't even get output reliably (not to
say "at all").

If there's a way to fix this, I'd love to hear it. Even if there
is a fix, I'd regard this as a SERIOUS bug.
Date: 2006-02-14 04:16
Sender: Phil Duby

I have the same problem with Ruby 1.8.4 and freeRIDE 0.9.5
To get more information, open a DOS (CMD) window, CD to the freeride
directory, then

ruby freeride.rb

That window should not close when freeride does, and in my case
it leaves traceback information (see separte bug report)

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

Field Old Value Date By
assigned_tonone2006-03-13 09:33jonathanm