File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,9 +23,10 @@ use std::{
23
23
io:: { stderr, stdin, stdout} ,
24
24
os:: fd:: { AsFd , AsRawFd } ,
25
25
panic:: AssertUnwindSafe ,
26
+ process:: Command ,
26
27
sync:: Arc ,
27
28
} ;
28
- use tokio:: { process :: Command , sync:: RwLock , task} ;
29
+ use tokio:: { sync:: RwLock , task} ;
29
30
use tracing:: { debug, error, info} ;
30
31
use util:: Pipe ;
31
32
@@ -213,7 +214,7 @@ pub async fn start_native_client_program(
213
214
] )
214
215
. expect ( "No errors may occur when mapping file descriptors." ) ;
215
216
216
- let status = command. status ( ) . await . map_err ( |e| {
217
+ let status = command. status ( ) . map_err ( |e| {
217
218
error ! ( target: "client_program" , "Failed to execute client program: {:?}" , e) ;
218
219
anyhow ! ( "Failed to execute client program: {:?}" , e)
219
220
} ) ?;
You can’t perform that action at this time.
0 commit comments