[Haskell-cafe] Execution of external command

Bulat Ziganshin bulat.ziganshin at gmail.com
Thu Dec 13 08:20:24 EST 2007

Hello Yitzchak,

Thursday, December 13, 2007, 4:06:10 PM, you wrote:

> OK, I'll bite. What's wrong with runInteractiveCommand?

i just never used such functionality and asked community to ensure
that i don't selected anything wrong. sometime ago i've reimplemented the
feature that is in standard lib (unechoed input) so i just tried to
use community's wisdom this time :)


do (stdin,stdout,stderr,ph) <- runInteractiveCommand "script param"
   waitForProcess ph

when i should read stdout? before or after waitForProcess?

Best regards,
 Bulat                            mailto:Bulat.Ziganshin at gmail.com

More information about the Haskell-Cafe mailing list