Skip to content

Commit

Permalink
feat(builder): inherit process stdin
Browse files Browse the repository at this point in the history
ref #37

This commit unconditionally inherits the `spin up` process' stdin.

Given the goal of this trigger is to execute Wasm components to
completion, it makes sense to inherit stdin from the parent's process
and potentially block on waiting for user input.

Signed-off-by: Radu Matei <[email protected]>
  • Loading branch information
radu-matei committed Jul 15, 2024
1 parent 71a947e commit 2b9e294
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ impl CliArgs {
.collect::<Vec<&str>>();

store_builder.args(args)?;
store_builder.inherit_stdin();

Ok(())
}
Expand Down

0 comments on commit 2b9e294

Please sign in to comment.