Function run_async

Source
pub fn run_async(cmd: &str, param: Vec<&str>) -> Result<(), 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