Re: [Haskell-cafe] Expect module?

2009-01-19 Thread Erik de Castro Lopo
Donn Cave wrote: > Quoth Neil Mitchell : > > >> Is there a Haskell-Expect module? Something that would allow me to > >> control an external Unix program via its stdin/stdout/stderr? > > > > System.Process does what you want, I think: > > It might not. Expect uses pseudottys (cf. openpty()), and

Re: [Haskell-cafe] Expect module?

2009-01-19 Thread Brandon S. Allbery KF8NH
On 2009 Jan 19, at 3:47, Neil Mitchell wrote: Is there a Haskell-Expect module? Something that would allow me to control an external Unix program via its stdin/stdout/stderr? System.Process does what you want, I think: http://hackage.haskell.org/packages/archive/process/1.0.1.1/doc/html/System

Re: [Haskell-cafe] Expect module?

2009-01-19 Thread Donn Cave
Quoth Neil Mitchell : >> Is there a Haskell-Expect module? Something that would allow me to >> control an external Unix program via its stdin/stdout/stderr? > > System.Process does what you want, I think: It might not. Expect uses pseudottys (cf. openpty()), and select(). System.Process support

Re: [Haskell-cafe] Expect module?

2009-01-19 Thread Neil Mitchell
Hi Erik, > Is there a Haskell-Expect module? Something that would allow me to > control an external Unix program via its stdin/stdout/stderr? System.Process does what you want, I think: http://hackage.haskell.org/packages/archive/process/1.0.1.1/doc/html/System-Process.html Thanks Neil ___

[Haskell-cafe] Expect module?

2009-01-19 Thread Erik de Castro Lopo
Hi all, Is there a Haskell-Expect module? Something that would allow me to control an external Unix program via its stdin/stdout/stderr? Cheers, Erik -- - Erik de Castro Lopo -