Skip to main content

find_executable

Function find_executable 

Source
pub fn find_executable(name: impl AsRef<str>) -> String
Expand description

Find the name of the executable for the given platform.

§Arguments

  • name - The base name of the executable

§Returns

The platform-specific executable name (with .exe extension on Windows)