Skip to main content

exec_command

Function exec_command 

Source
pub fn exec_command(path: &str, entrypoint: Option<&str>) -> String
Expand description

The Exec= command that launches path, through entrypoint when given. A package picks its entrypoint by the name it is run as, so an entrypoint the path would not reach is named in ONELF_ENTRYPOINT.