pub fn validate_approval(
approve: Approve,
interactive: bool,
) -> Result<(), Error>Expand description
Prompt is answerable exactly when a process is driving the task and
has somewhere to put the question — see PromptHost. Always and
Never ask nobody, so they need no host at all.
Public because a host wants this checked as early as possible: refusing
Prompt at spawn, before a task directory is even minted, is a cheaper
and clearer failure than minting one that can never make progress.