Up
Module
Process
=
Async_shell.Process
Signature
type
t =
Core_extended.Shell.Process.t
type
status = [
| `Timeout
of
Core_extended.Std.Time.Span.t
| `Exited
of
int
| `Signaled
of
Async.Std.Signal.t
]
type
result =
Core_extended.Shell.Process.result
= {
command
:
t
;
status
:
status
;
stdout
: string
;
stderr
: string
;
}
exception
Failed
of
result
val
status_to_string :
status
-> string
val
format_failed :
result
-> string