Module Flexmasa.Running_processes

Run and monitor processes.

module Process : sig ... end

The definition of a process, for now, a process within a process-group or a Docker container.

module State : sig ... end

The container for a list of running or not processes.

val output_path : < paths : Paths.t.. > -> Process.t -> [ `Meta | `Stderr | `Stdout ] -> Internal_pervasives.string

Return the path (within Paths's root-path) where the process writes its output or metadata.

val ef_procesess : < paths : Paths.t.. > -> State.process_state Internal_pervasives.list -> Easy_format.t
val ef : ?all:Internal_pervasives.bool -> < runner : State.t.. > -> Easy_format.t

Run a shell command and wait for its end.

val run_genspio : < paths : Paths.t ; runner : State.t.. > Internal_pervasives.Base_state.t -> Internal_pervasives.string -> 'a Genspio.Language.t -> (Lwt_unix.process_status, [> Internal_pervasives.System_error.t ]) Internal_pervasives.Asynchronous_result.t
module Async : sig ... end