diff --git a/src/ui/external/editor.rs b/src/ui/external/editor.rs index d6030a5e..08ab6314 100644 --- a/src/ui/external/editor.rs +++ b/src/ui/external/editor.rs @@ -20,7 +20,7 @@ pub fn let_user_provide_content(rt: &Runtime) -> Option { } let output = { - let mut cmd = Command::new(rt.editor()); + let mut cmd = rt.editor(); cmd.arg(filepath); debug!("cmd = {:?}", cmd); cmd.spawn()