B0_unit.Action
val exec_cwd : (build -> t -> B00_std.Fpath.t B00_std.Fut.t) B0_meta.key
exec_cwd
is a function to determine a current working directory for exec
actions.
val exec_env : (build -> t -> B00_std.Os.Env.assignments B00_std.Fut.t) B0_meta.key
exec_env
is a function to determine an environement for exec
actions.
val exec : action
exec
is an action that B00_std.Os.Exit.exec
's a unit's outcome as follows:
B0_meta.exe_file
.B00_std.Fpath.basename
of B0_meta.exe_file
as the program name and the action's args
as arguments.exec_cwd
, it is used to determine the cwd
otherwise the default of B00_std.Os.Exit.exec
is used.exec_env
, it is used to determine the environment otherwise the default B00_std.Os.Exit.exec
is used.val exec_file : build -> t -> B00_std.Fpath.t -> B00_std.Cmd.t -> B00_std.Os.Exit.t B00_std.Fut.t
exec_file u file argv
is a B00_std.Os.Exit.exec
with file
and argv
and:
u
defines exec_cwd
, it is used to determine the cwd
otherwise the default of B00_std.Os.Exit.exec
is used.u
defines exec_env
, it is used to determine the environment otherwise the default B00_std.Os.Exit.exec
is used.