Function run

Source
pub fn run(cmd: &str, param: Vec<&str>) -> Result<String, Box<dyn Error>>
Expand description

Run wei command, If the program does not exist/ Under the data/directory, search for the program’s configuration file

§Arguments

  • cmd - Command name
  • param - Command parameters