From b4420d921e916b4f048f8ec5596b02a8ff0d844e Mon Sep 17 00:00:00 2001 From: Nathan Flurry Date: Sun, 21 Jul 2024 22:00:48 -0700 Subject: [PATCH] fix: show term args on linux --- rivet-toolchain/src/util/show_term.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rivet-toolchain/src/util/show_term.rs b/rivet-toolchain/src/util/show_term.rs index 12544479..e4f37298 100644 --- a/rivet-toolchain/src/util/show_term.rs +++ b/rivet-toolchain/src/util/show_term.rs @@ -96,6 +96,8 @@ pub async fn show_term(args: &[String]) -> GlobalResult { #[cfg(target_os = "linux")] let child: Child = { + let mut args = args.to_vec(); + // TODO(forest): For Linux, the code is trying to find an // available terminal emulator from a predefined list and // then run the command in it. However, the way to run a