From ab29135056df681187c8d5f8ca72aabfa6c6aaf0 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Fri, 3 Nov 2023 16:34:04 -0700 Subject: [PATCH] fix import --- web3_proxy_cli/src/sub_commands/proxyd.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web3_proxy_cli/src/sub_commands/proxyd.rs b/web3_proxy_cli/src/sub_commands/proxyd.rs index 8b0cb9fe..f2d61191 100644 --- a/web3_proxy_cli/src/sub_commands/proxyd.rs +++ b/web3_proxy_cli/src/sub_commands/proxyd.rs @@ -12,6 +12,7 @@ use web3_proxy::prelude::argh::{self, FromArgs}; use web3_proxy::prelude::futures::StreamExt; use web3_proxy::prelude::num::Zero; use web3_proxy::prelude::tokio; +use web3_proxy::prelude::tokio::process::Command; use web3_proxy::prelude::tokio::signal::unix::SignalKind; use web3_proxy::prelude::tokio::sync::{broadcast, mpsc, oneshot}; use web3_proxy::prelude::tokio::time::{sleep_until, Instant}; @@ -196,7 +197,7 @@ impl ProxydSubCommand { if let Some(start_script) = spawned_app.app.config.start_script.as_ref() { let start_script = Command::new(start_script) - .args(&app.config.start_script_args) + .args(&spawned_app.app.config.start_script_args) .spawn() .expect("failed to execute script");