fix process waiting things
This commit is contained in:
parent
d7b3c0d430
commit
fbd6d9d43f
3 changed files with 4 additions and 3 deletions
2
Cargo.lock
generated
2
Cargo.lock
generated
|
@ -22,7 +22,7 @@ checksum = "b03f7fbd470aa8b3ad163c85cce8bccfc11cc9c44ef12da0a4eddd98bd307352"
|
|||
|
||||
[[package]]
|
||||
name = "spl"
|
||||
version = "0.1.6"
|
||||
version = "0.1.8"
|
||||
dependencies = [
|
||||
"multicall",
|
||||
"once_cell",
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
[package]
|
||||
name = "spl"
|
||||
version = "0.1.7"
|
||||
version = "0.1.8"
|
||||
edition = "2021"
|
||||
description = "Stack Pogramming Language: A simple, concise scripting language."
|
||||
license = "MIT"
|
||||
|
|
|
@ -35,8 +35,9 @@ fn main() {
|
|||
} else {
|
||||
let mut args: Vec<String> = args.collect();
|
||||
args.insert(0, file);
|
||||
app.execute(args).unwrap();
|
||||
let mut command = app.execute(args).unwrap();
|
||||
app.delete();
|
||||
command.wait().unwrap();
|
||||
}
|
||||
|
||||
return;
|
||||
|
|
Loading…
Add table
Reference in a new issue