Re: Using bash(cygwin) inside C# program

2009-09-24 Thread amir knippel
References: <4aba9534.9080...@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

Re: Using bash(cygwin) inside C# program

2009-09-23 Thread Dave Korn
amir knippel wrote: > i created a process that runs bash and redirect stdin,stout and std error > but I can’t get tty to work attached is a sample code that starts bash > process and redirect the input/output. > the problem is that i don't have tty device. if i try to run tty command or > stty com

Using bash(cygwin) inside C# program

2009-09-23 Thread amir knippel
Hey everyone, i need to use bash shell "inside" C# program. I want to mimic user typing in interactive mode and running cygwin commands. i created a process that runs bash and redirect stdin,stout and std error but I can’t get tty to work attached is a sample code that starts bash process and redi