package async_shell

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

The functions in here are straightforward in_thread wrappers of Shell (lib/shell/src/shell.mli) functions.

module Process : sig ... end
type 'a with_process_flags = 'a Shell.with_process_flags
type 'a with_run_flags = 'a Shell.with_run_flags
type 'a with_test_flags = 'a Shell.with_test_flags
type 'a with_ssh_flags = 'a Shell.with_ssh_flags
type 'a cmd = 'a Shell.cmd
type ('a, 'ret) sh_cmd = ('a, 'ret) Shell.sh_cmd
val sh_test : ('a, bool Async.Deferred.t) sh_cmd with_test_flags
val run_lines : ?eol:char -> string list Async.Deferred.t cmd with_run_flags
val run_one : ?eol:char -> string option Async.Deferred.t cmd with_run_flags
  • deprecated [since 2017-11] Use [run_one_line] to get a different behavior or [run_first_line] to get the old behavior
val run_one_exn : ?eol:char -> string Async.Deferred.t cmd with_run_flags
  • deprecated [since 2017-11] Use [run_one_line_exn] to get a different behavior or [run_first_line_exn] to get the old behavior
val run_one_line : ?eol:char -> string Core.Or_error.t Async.Deferred.t cmd with_run_flags
val run_one_line_exn : ?eol:char -> string Async.Deferred.t cmd with_run_flags
val run_first_line : ?eol:char -> string option Async.Deferred.t cmd with_run_flags
val run_first_line_exn : ?eol:char -> string Async.Deferred.t cmd with_run_flags
val run_full : string Async.Deferred.t cmd with_run_flags
val run_full_and_error : (string * string) Async.Deferred.t cmd with_run_flags
val run_lines_stream : string Async.Stream.t cmd with_run_flags
val sh_lines : ('a, string list Async.Deferred.t) sh_cmd with_run_flags
val sh_one : ('a, string option Async.Deferred.t) sh_cmd with_run_flags
  • deprecated [since 2017-11] Use [sh_one_line] to get a different behavior or [sh_first_line] to get the old behavior
val sh_one_exn : ('a, string Async.Deferred.t) sh_cmd with_run_flags
  • deprecated [since 2017-11] Use [sh_one_line_exn] to get a different behavior or [sh_first_line_exn] to get the old behavior
val sh_one_line : ('a, string Core.Or_error.t Async.Deferred.t) sh_cmd with_run_flags
val sh_one_line_exn : ('a, string Async.Deferred.t) sh_cmd with_run_flags
val sh_first_line : ('a, string option Async.Deferred.t) sh_cmd with_run_flags
val sh_first_line_exn : ('a, string Async.Deferred.t) sh_cmd with_run_flags
val sh_full : ('a, string Async.Deferred.t) sh_cmd with_run_flags
val sh_full_and_error : ('a, (string * string) Async.Deferred.t) sh_cmd with_run_flags
val sh_lines_stream : ('a, string Async.Stream.t) sh_cmd with_run_flags
val ssh_lines : ('a, string list Async.Deferred.t) sh_cmd with_run_flags with_ssh_flags
val ssh_one : ('a, string option Async.Deferred.t) sh_cmd with_run_flags with_ssh_flags
  • deprecated [since 2017-11] Use [ssh_one_line] to get a different behavior or [ssh_first_line] to get the old behavior
val ssh_one_exn : ('a, string Async.Deferred.t) sh_cmd with_run_flags with_ssh_flags
  • deprecated [since 2017-11] Use [ssh_one_line_exn] to get a different behavior or [ssh_first_line_exn] to get the old behavior
val ssh_one_line_exn : ('a, string Async.Deferred.t) sh_cmd with_run_flags with_ssh_flags
val ssh_first_line : ('a, string option Async.Deferred.t) sh_cmd with_run_flags with_ssh_flags
val ssh_first_line_exn : ('a, string Async.Deferred.t) sh_cmd with_run_flags with_ssh_flags
val ssh_lines_stream : ('a, string Async.Stream.t) sh_cmd with_run_flags with_ssh_flags
val ssh_full_and_error : ('a, (string * string) Async.Deferred.t) sh_cmd with_run_flags with_ssh_flags
Small helper commands
val mkdir : ?p:unit -> ?perm:int -> string -> unit Async.Deferred.t
val scp : ?compress:bool -> ?recurse:bool -> ?user:string -> host:string -> string -> string -> unit Async.Deferred.t
OCaml

Innovation. Community. Security.