module OASISExec:sig..end
Running commands
val run : ctxt:OASISContext.t ->
?f_exit_code:(int -> unit) ->
?quote:bool -> OASISTypes.prog -> OASISTypes.args -> unitRun a command.
f_exit_code : if provided, run this command on the exit code
(even when it is 0). Otherwise, a non-zero exit code raises
Failure.quote : quote the prog.val run_read_output : ctxt:OASISContext.t ->
?f_exit_code:(int -> unit) ->
OASISTypes.prog -> OASISTypes.args -> string listRun a command and returns its output as a list of lines.
val run_read_one_line : ctxt:OASISContext.t ->
?f_exit_code:(int -> unit) -> OASISTypes.prog -> OASISTypes.args -> stringRun a command and returns only first line.
Failure if the output contains more than one line.