@@ -12,8 +12,8 @@ impl CmdChildren {
1212 Self ( children)
1313 }
1414
15- pub fn wait_cmd ( & mut self ) -> CmdResult {
16- let ret = self . wait_cmd_nolog ( ) ;
15+ pub fn wait_cmd_result ( & mut self ) -> CmdResult {
16+ let ret = self . wait_cmd_result_nolog ( ) ;
1717 if let Err ( ref err) = ret {
1818 error ! (
1919 "Running {} failed, Error: {}" ,
@@ -24,7 +24,7 @@ impl CmdChildren {
2424 ret
2525 }
2626
27- pub ( crate ) fn wait_cmd_nolog ( & mut self ) -> CmdResult {
27+ pub ( crate ) fn wait_cmd_result_nolog ( & mut self ) -> CmdResult {
2828 // wait last process result
2929 let handle = self . 0 . pop ( ) . unwrap ( ) ;
3030 handle. wait ( true ) ?;
@@ -66,8 +66,8 @@ impl CmdChildren {
6666 }
6767 }
6868
69- pub fn wait_fun ( & mut self ) -> FunResult {
70- let ret = self . wait_fun_nolog ( ) ;
69+ pub fn wait_fun_result ( & mut self ) -> FunResult {
70+ let ret = self . wait_fun_result_nolog ( ) ;
7171 if let Err ( ref err) = ret {
7272 error ! (
7373 "Running {} failed, Error: {}" ,
@@ -78,7 +78,7 @@ impl CmdChildren {
7878 ret
7979 }
8080
81- pub ( crate ) fn wait_fun_nolog ( & mut self ) -> FunResult {
81+ pub ( crate ) fn wait_fun_result_nolog ( & mut self ) -> FunResult {
8282 // wait last process result
8383 let handle = self . 0 . pop ( ) . unwrap ( ) ;
8484 let wait_last = handle. wait_with_output ( ) ;
0 commit comments