xref: /DragonReach/src/task/cmdtask/mod.rs (revision f206f17adf7b13bcbc7a739d44eada5c810b68fe)
1 #[cfg(target_os = "dragonos")]
2 use drstd as std;
3 
4 use std::string::String;
5 
6 #[derive(Debug)]
7 pub struct CmdTask {
8     pub path: String,
9     pub cmd: String,
10     pub ignore: bool, //表示忽略这个命令的错误,即使它运行失败也不影响unit正常运作
11 }
12