delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/01/13/11:58:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
Date: Thu, 13 Jan 2005 08:56:13 -0800
From: Edwin Goei <edwingo AT edwingo DOT org>
Subject: Windows *.exe and stderr in xemacs shell-mode fail to appear
To: cygwin AT cygwin DOT com
Message-id: <41E6A82D.1070205@edwingo.org>
MIME-version: 1.0
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)

I don't like the Windows DOS Prompt type command window and so I use 
xemacs shell-mode instead.  I have a Windows *.exe program that I think 
outputs to stderr.  When I run it in a shell-mode buffer, a new DOS 
Window is opened and all output goes to the DOS window and not the 
shell-mode buffer.  Anyone know how I can get the output to go to the 
shell-mode buffer instead?

To debug this I tried redirecting the output of the command.  The 
redirect seems to only work in a cygwin DOS Window 
(C:\cygwin\cygwin.bat) but not in shell-mode.  As far as I can tell, 
both use "bash -i" as as shell.

Here is a sample commandline:

./rave/bin/nb.exe -J-Xdebug 
-J-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=8765 -userdir 
/cygwin/home/edwingo/.Creator 
-J-Dtoolbox.importStartDir=/cygwin/home/edwingo/ftp -J-Drave.preview 
-J-Drave.project.dumpclassloader -J-Drave.projectdebug  2>&1 > ~/ide.txt

One other piece of data is that I have another *.exe which does output 
to the shell-mode buffer.  It also opens a DOS window, but nothing 
appears there.  This is what I want.  I don't know enough about Win32 to 
understand why.  Any ideas?

-Edwin

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

- Raw text -


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