Allan Clark wrote: > -- Create the process > do (_pIn, pOut, pErr, handle) <- runInteractiveCommand command > -- Wait for the process to finish and store its exit code > exitCode <- waitForProcess handle
Warning: this will get stuck if the command output is so big that it fills the SO buffers. This limit is 64K here. Regards, Zun. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe