package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type command_context = {
  1. sfs_command : string;
  2. sfs_stdin : Shell.producer;
  3. sfs_stdout : Shell.consumer;
  4. sfs_stderr : Shell.consumer;
  5. mutable sfs_status : Unix.process_status option;
}
type command_interpreter
val local_interpreter : unit -> command_interpreter
val cmd_interpreter : (command_context -> Shell_sys.command list) -> command_interpreter
val ssh_interpreter : ?options:string list -> ?user:string -> host:string -> unit -> command_interpreter
class type shell_stream_fs = object ... end
class shell_fs : ?encoding:Netconversion.encoding -> ?root:string -> ?dd_has_excl:bool -> ?tmp_directory: string -> ?tmp_prefix:string -> command_interpreter -> shell_stream_fs
val shell_fs : ?encoding:Netconversion.encoding -> ?root:string -> ?dd_has_excl:bool -> ?tmp_directory:string -> ?tmp_prefix:string -> command_interpreter -> shell_stream_fs
val execute : command_interpreter -> command_context -> unit
val wait : command_interpreter -> unit
val output_stream_adapter : ci:command_interpreter -> close_in:(unit -> unit) -> skip:int64 -> Shell.consumer * Netchannels.in_obj_channel
val input_stream_adapter : ci:command_interpreter -> close_out:(unit -> unit) -> Shell.producer * Netchannels.out_obj_channel
OCaml

Innovation. Community. Security.