Skip to main content

command_exists

Function command_exists 

Source
pub fn command_exists(command: &str) -> bool
Expand description

Checks whether an executable is available on PATH without invoking it.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::ops_bridge::command_exists holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::ops_bridge::command_exists(todo!());