Async_shellSourceThe functions in here are straightforward in_thread wrappers of Shell (lib/shell/src/shell.mli) functions.
Child processes will not exit when the parent process exits. If you want the child processes to terminate, you need to arrange it explicitly, e.g. by sending a signal, or closing a pipe, or sending an explicit message.
val sh_one_line :
('a, string Core.Or_error.t Async.Deferred.t) sh_cmd with_run_flags
with_sh_flagsval sh_full_and_error :
('a, (string * string) Async.Deferred.t) sh_cmd with_run_flags with_sh_flagsval ssh_one_line :
('a, string Core.Or_error.t Async.Deferred.t) sh_cmd with_run_flags
with_ssh_flagsval ssh_first_line :
('a, string option Async.Deferred.t) sh_cmd with_run_flags with_ssh_flagsval ssh_full_and_error :
('a, (string * string) Async.Deferred.t) sh_cmd with_run_flags with_ssh_flagsval scp :
?compress:bool ->
?recurse:bool ->
?user:string ->
host:string ->
string ->
string ->
unit Async.Deferred.t