Refactor runner scripts to introduce eval

This commit is contained in:
Zhang Junyang
2023-07-26 15:36:40 +08:00
committed by Tate, Hongliang Tian
parent 2e4b0432e0
commit 187069fd34
6 changed files with 339 additions and 151 deletions

View File

@ -83,7 +83,8 @@ fn init_thread() {
karg.get_initproc_path().unwrap(),
karg.get_initproc_argv().unwrap().to_vec(),
karg.get_initproc_envp().unwrap().to_vec(),
).expect("Run init process failed.");
)
.expect("Run init process failed.");
loop {
// If initproc becomes zombie, then exit qemu.