pub fn editor_argv(candidate: &str, path: &str) -> Option<(String, Vec<String>)>Expand description
Split one candidate into a program and its arguments, with path appended.
Candidates are split on whitespace so an editor string carrying flags
(code --wait) works. The consequence, which callers should document: a
program path containing spaces is split in the wrong place and needs a
wrapper script on PATH instead.
None when the candidate has no program token at all, which is what a
whitespace-only value amounts to.