captureio

Capture output to Stderr and Stdout
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library captureio
Module CaptureIO
exception IOCapture of string
type capture_session
val capture : ( unit -> 'a ) -> string
val capture_stdout : ( unit -> 'a ) -> string
val capture_stderr : ( unit -> 'a ) -> string
val capture_descr : Unix.file_descr list -> ( unit -> 'a ) -> string
val start_capture : unit -> capture_session
val start_capture_stdout : unit -> capture_session
val start_capture_stderr : unit -> capture_session
val start_capture_descr : Unix.file_descr list -> capture_session
val finish_capture : capture_session -> string