package ocaml_plugin
Module Private.ShellSource
Global properties regarding bash sys calls. Echo would print the command before running them, and verbose would print the full output of the command.
Offers a command line param to set verbose and echo directly.
Source
val run :
?working_dir:string ->
?env:Async.Unix.env ->
?quiet_or_error:bool ->
string ->
string list ->
unit Async.Deferred.Or_error.tSource
val run_lines :
?working_dir:string ->
?env:Async.Unix.env ->
string ->
string list ->
string list Async.Deferred.Or_error.tSource
val temp_dir :
in_dir:string ->
?prefix:string ->
?suffix:string ->
?perm:Async.Unix.file_perm ->
unit ->
string Async.Deferred.Or_error.tWhen this function succeed, it returns a absolute pathname.