We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 113f0e6 commit e68e14eCopy full SHA for e68e14e
src/vm/child.rs
@@ -1,5 +1,6 @@
1
use std::process::Stdio;
2
use tokio::process::Command;
3
+use tokio::time::{delay_for, Duration};
4
5
use crate::error::RuntimeError;
6
use crate::vm::http;
@@ -17,6 +18,9 @@ pub async fn spawn_process(
17
18
.spawn()
19
.unwrap();
20
21
+ //TODO: wait for file to appear?
22
+ delay_for(Duration::from_millis(10)).await;
23
+
24
set_kernel(vm_name, &state.assets_dir).await?;
25
println!("kernel");
26
0 commit comments