Skip to main content

action_process_path

Function action_process_path 

Source
pub fn action_process_path() -> OsString
Expand description

PATH value that Merry passes to sandboxed action commands.

The value is the current process PATH when it is set and non-empty, otherwise the fallback used when an action environment is built. Callers that describe the action environment, such as a prompt naming the command-line tools a sandboxed command may use, resolve the value through here so the description follows the PATH the sandbox actually passes instead of guessing.