From c85658def9f9c0a7abc0a9f1cbbec193f52deee6 Mon Sep 17 00:00:00 2001 From: Jean-Pierre De Jesus DIAZ Date: Fri, 1 Dec 2023 11:42:07 +0100 Subject: [PATCH] xous-rs: Do not pass reference to command args. --- xous-rs/src/arch/hosted/process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xous-rs/src/arch/hosted/process.rs b/xous-rs/src/arch/hosted/process.rs index a6ff8b252..36f96022c 100644 --- a/xous-rs/src/arch/hosted/process.rs +++ b/xous-rs/src/arch/hosted/process.rs @@ -156,7 +156,7 @@ pub fn create_process_post( // println!("Launching process..."); Command::new(shell) - .args(&args) + .args(args) .env("XOUS_SERVER", server_env) .env("XOUS_PID", pid_env) .env("XOUS_PROCESS_NAME", process_name_env)