package async_shell
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Shell helpers for Async
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.17.0.tar.gz
sha256=b873051dd46e82b932a52db72a957345a30399c8bce75361024ce7bfe235cb82
doc/async_shell/Async_shell/index.html
Module Async_shellSource
WARNING: The use of this library in new projects is discouraged; consider using Async.Process instead. This library has some gotchas, such as being unable to return the full output of a command (see the ?tail_len argument to Low_level_process.run).
The 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.
Source
val sh_one_line :
('a, string Core.Or_error.t Async.Deferred.t) sh_cmd with_run_flags
with_sh_flagsSource
val sh_full_and_error :
('a, (string * string) Async.Deferred.t) sh_cmd with_run_flags with_sh_flagsSource
val ssh_one_line :
('a, string Core.Or_error.t Async.Deferred.t) sh_cmd with_run_flags
with_ssh_flagsSource
val ssh_first_line :
('a, string option Async.Deferred.t) sh_cmd with_run_flags with_ssh_flagsSource
val ssh_full_and_error :
('a, (string * string) Async.Deferred.t) sh_cmd with_run_flags with_ssh_flagsSmall helper commands
Source
val scp :
?compress:bool ->
?recurse:bool ->
?user:string ->
host:string ->
string ->
string ->
unit Async.Deferred.t sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page