From 2b9e294e2b211881b58c07ccb4028078024ede2a Mon Sep 17 00:00:00 2001 From: Radu Matei Date: Mon, 15 Jul 2024 15:49:23 +0200 Subject: [PATCH] feat(builder): inherit process stdin ref https://github.com/fermyon/spin-trigger-command/issues/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 --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 52f44ed..a5ab943 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -42,6 +42,7 @@ impl CliArgs { .collect::>(); store_builder.args(args)?; + store_builder.inherit_stdin(); Ok(()) }