From 684e108fd01961fe2ec14ee9cb86ce23171c85a3 Mon Sep 17 00:00:00 2001 From: yuri <164520341+yohaneYuri@users.noreply.github.com> Date: Thu, 19 Jun 2025 08:32:14 +0800 Subject: [PATCH] Fix `goto_file` on Windows (#13770) --- helix-term/src/lib.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/helix-term/src/lib.rs b/helix-term/src/lib.rs index a371dd1cf..75b67479b 100644 --- a/helix-term/src/lib.rs +++ b/helix-term/src/lib.rs @@ -76,8 +76,7 @@ fn open_external_url_callback( let commands = open::commands(url.as_str()); async { for cmd in commands { - let mut command = tokio::process::Command::new(cmd.get_program()); - command.args(cmd.get_args()); + let mut command: tokio::process::Command = cmd.into(); if command.output().await.is_ok() { return Ok(job::Callback::Editor(Box::new(|_| {}))); }