delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/05/14:40:53

X-Recipient: archive-cygwin AT delorie DOT 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 AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019