delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/24/06:52:09

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=2.4 required=5.0 tests=AWL,BAYES_50
X-Spam-Check-By: sourceware.org
Message-ID: <4ABB4F40.2070609@spinux.com>
Date: Thu, 24 Sep 2009 13:51:44 +0300
From: amir knippel <amir AT spinux DOT com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Using bash(cygwin) inside C# program
X-IsSubscribed: yes
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

References: <4ABA9534 DOT 9080203 AT gmail DOT com>

> Why exactly do you think you need to run stty and set the tty operating
> parameters, when the bash process is quite plainly *not* connected to a tty,
> it is connected to your C# application?

>  It's your application that is in charge of I/O - if it doesn't want echo,
> all it has to do is discard the stuff it reads from the process' stdout
> instead of displaying it, in your OutDataReceived/ErrorDataReceived handlers.

I have code that runs ssh and do some operation on the shell and i want use this code with cygwin.
further more i need operational tty for redirect/input output to /dev/ttyN.



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