We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7d22a13 commit 3bc68a4Copy full SHA for 3bc68a4
bin/host/src/lib.rs
@@ -23,9 +23,10 @@ use std::{
23
io::{stderr, stdin, stdout},
24
os::fd::{AsFd, AsRawFd},
25
panic::AssertUnwindSafe,
26
+ process::Command,
27
sync::Arc,
28
};
-use tokio::{process::Command, sync::RwLock, task};
29
+use tokio::{sync::RwLock, task};
30
use tracing::{debug, error, info};
31
use util::Pipe;
32
@@ -213,7 +214,7 @@ pub async fn start_native_client_program(
213
214
])
215
.expect("No errors may occur when mapping file descriptors.");
216
- let status = command.status().await.map_err(|e| {
217
+ let status = command.status().map_err(|e| {
218
error!(target: "client_program", "Failed to execute client program: {:?}", e);
219
anyhow!("Failed to execute client program: {:?}", e)
220
})?;
0 commit comments