X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 	tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Sat, 5 Dec 2009 12:40:40 -0700
Message-ID: <e031e5e10912051140n53da86f8r3820f1a0d631b0bc@mail.gmail.com>
Subject: handle invalid running native console app from cygwin shell
From: Kurt Harriger <kurtharriger@gmail.com>
To: cygwin@cygwin.com
Content-Type: text/plain; charset=ISO-8859-1
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

I'm trying to run a boo script from a cygwin bash shell.
http://boo.codehaus.org/
booish runs fine from cmd or powershell but from bash I get an error.
I thought maybe then I could do cmd /c booish but this doesn't work either.
Any idea how I can workaround the issue?

$ booish
Welcome to booish, an interactive interpreter for the boo programming language.
Running boo 0.9.2.3383 on CLR 2.0.50727.4927.

Enter boo code in the prompt below (or type /help).

Unhandled Exception: System.IO.IOException: The handle is invalid.

   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.__Error.WinIOError()
   at System.Console.set_CursorVisible(Boolean value)
   at Boo.Lang.Interpreter.InteractiveInterpreter2.ConsoleLoopEval()
   at Booish2Module.Main(String[] argv)

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

