pub fn process_resolution_inputs(
environment: &[(OsString, OsString)],
) -> Result<ResolutionInputs>Expand description
What:
Gather resolution inputs from the running process.
std::io::Result<T> is Result<T, std::io::Error>.
Why:
The wrapper must know its own executable to exclude it;
if the operating
system cannot report it (or the current directory),
resolution fails rather
than risk selecting itself.
In TS you’d write (pseudocode):
function processResolutionInputs(environment: [string, string][]): ResolutionInputs;