Skip to main content

resolve_program

Function resolve_program 

Source
pub fn resolve_program(cmd: &str, name: &str) -> OsString
Expand description

Resolve the program to launch. A bare ct-* name is resolved to a sibling of the current executable first — the same resolution the ct umbrella uses — so suite tools compose without PATH games; anything else launches by name via PATH.