This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Using bash(cygwin) inside C# program
- From: amir knippel <amir at spinux dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 24 Sep 2009 13:51:44 +0300
- Subject: Re: Using bash(cygwin) inside C# program
References: <4ABA9534.9080203@gmail.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