delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-0.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <e031e5e10912051140n53da86f8r3820f1a0d631b0bc@mail.gmail.com> |
References: | <e031e5e10912051140n53da86f8r3820f1a0d631b0bc AT mail DOT gmail DOT com> |
Date: | Sat, 5 Dec 2009 13:16:33 -0700 |
Message-ID: | <e031e5e10912051216x1ca0ac37i1d7f0dad29b0ed22@mail.gmail.com> |
Subject: | RE: handle invalid running native console app from cygwin shell |
From: | Kurt Harriger <kurtharriger AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Update: I discovered that if I remove tty from CYGWIN variable the problem is fixed. However, emacs doesn't work correctly if its not set (C-x C-c is interpreted as C-x C-g). So it seems that your kinda damned if you do damned if you don't. ---------- Forwarded message ---------- From: Kurt Harriger <kurtharriger AT gmail DOT com> Date: Sat, Dec 5, 2009 at 12:40 PM Subject: handle invalid running native console app from cygwin shell To: 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 langu= age. 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. =A0 at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) =A0 at System.IO.__Error.WinIOError() =A0 at System.Console.set_CursorVisible(Boolean value) =A0 at Boo.Lang.Interpreter.InteractiveInterpreter2.ConsoleLoopEval() =A0 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |