delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/12/13/17:06:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <26770209.post@talk.nabble.com>
Date: Sun, 13 Dec 2009 14:06:08 -0800 (PST)
From: Marc Girod <marc DOT girod AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Looking for the 'stdout' of a Windows application
In-Reply-To: <4B2557EC.5070506@gmail.com>
MIME-Version: 1.0
References: <26769438 DOT post AT talk DOT nabble DOT com> <4B2557EC DOT 5070506 AT gmail 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


Dave Korn-6 wrote:
> 
>   *shudder*
> 
Er?

Dave Korn-6 wrote:
> 
>   It's almost certainly not hung: it's printed the prompt, which has
> gotten
> lost somewhere, and it's now waiting for your input.  Try hitting enter.
> 
This is what I meant.
I thought I had tried hitting Enter... It works.
Under emacs, the shell gets killed!?

Dave Korn-6 wrote:
> 
>   Perfectly normal.  That's why cygwin's ps output has the WINPID column.
> (Remember, you can't properly fork or exec in windows; you have to create
> a
> new process each time.)
> 
OK. Thanks.

Dave Korn-6 wrote:
> 
>   When you say it doesn't work in the "Cygwin terminal", do you mean the
> standard dos-box style console?  If it doesn't work there, you must have
> the
> 'tty' set in your CYGWIN environment variable; remove it.
> 
I did. Removed. No effect. Should I have rebooted?
BTW, after killing the process from an other teminal, I loose the stdin/out
in this one (be it the console or xterm).

Dave Korn-6 wrote:
> 
>   As for the gui terminals, there's probably nothing you can do.  Well,
> apart
> from typing your answers blind each time it pauses...
> 
Thanks
Marc
-- 
View this message in context: http://old.nabble.com/Looking-for-the-%27stdout%27-of-a-Windows-application-tp26769438p26770209.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
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